UNIT METER SCALE ISSUE
-
According to the documentation, my user data should be scaled when you provide them with the flags UNIT METER. Unfortunately, this does not work as hoped. Scaling using ObjectMode is running.
REAL GRIDDER_WIDTH { UNIT METER; MIN 0;} REAL GRIDDER_HEIGHT { UNIT METER; MIN 0;}
-
Hi,
I am a bit confused, you are talking about user data, but you show a description resource, so I assume you are actually in a plugin environment? The scaling is working just fine for me, it might be helpful if you would provide more information regarding your code and when possible examples. The only thing I could think of out of the blue: Have you initialized your attributes properly via
NodeData.InitAttr()
? If not all kinds of weird stuff will happen.Cheers
zipit -
@zipit said in UNIT METER SCALE ISSUE:
NodeData.InitAttr()
-
Hi pyr, thanks for reaching out us.
Consider that the Scale modifier operates on the transformation matrix of the object when in Object Mode, whilst it operates on the parameters specified as lengths when in Model Mode.
Finally, as pointed out by @zipit, providing more context will be definitively beneficial since with a very simple example I'm not able to replicate the issue as well.Best, R