Notifications
Clear all
[Closed] Modifier Gizmo Offset
Aug 21, 2014 6:45 pm
Hey Guys,
I’ve written a simpleMod scripted plugin.
when i have a object selected and apply the modifier manually via the drop down menu it works fine with the modifier gizmo/center matching up to the object and its pivot.
But when trying to apply it via script …
local sMod = myModifier()
addModifier <object> sMod
Its coming out with the center and gizmo off to the side which is messing up the output. But then looking at the .gizmo, its all equal to 0 and the center can’t be changed via script, only by moving it in the viewport.
$.modifiers[1].center = [0,0,0]
-- Cannot assign to read-only variable: center
any one know why this is and how to fix this?
Cheers