[Fix] Fix fisheye center attribute setting

This commit is contained in:
Landrodie 2021-07-20 14:29:22 +02:00 committed by Fabien Castan
parent 367f763efb
commit c88f1e8435

View file

@ -439,8 +439,10 @@ FocusScope {
onMoved: {
if(!useAuto)
{
_reconstruction.setAttribute(activeNode.attribute("fisheyeCenterOffset.fisheyeCenterOffset_x"), x)
_reconstruction.setAttribute(activeNode.attribute("fisheyeCenterOffset.fisheyeCenterOffset_y"), y)
_reconstruction.setAttribute(
activeNode.attribute("fisheyeCenterOffset"),
JSON.stringify([x, y])
);
}
}
onIncrementRadius: {