Modifier parameters change uppon scaling



  • Hello,
    I noticed that two of my parameters of my modifier change their values when I scale the modifier in the viewport.
    I thought that it might be the Handles, but the only ones I have are from the Falloff/Field.
    I tried changing the ids of those two parameters (both Realslider) but they do still change.
    The only time I set/get the values for the parameters are in the Init function and in the ModifyObject function.

    I am at a complete loss here. Is there anything I could check that I may be doing?

    Thanks in advance!
    Best Regards,
    Florian



  • Hello,

    float parameters using "meter" as a unit are automatically scaled, when the object is scaled.

    You can disable this by setting DESC_FORBID_SCALING or "FORBID_SCALING" in the resource file.

    See Description Settings Manual.

    best wishes,
    Sebastian



  • Hello Sebastian,
    thanks for this quick response!
    I dind't know about this. But this solved my issue!

    Best Regards,
    Florian