Bug when setting value to a modifier

17 viewsCSS Bugsmodifiers Reactions
0

Hey all,

In Reactions, if you use this action to save a value to a modifier Script > Modifiers > Set the value of a Modifier
When you are selecting the modifier option, don’t use Search box to find the modifier. Navigate to the modifier menu i.e. script > modifiers > m1
and select it there.
If you use the search box to find the modifier, it generates incorrect code.

Example, using the search box to select M1 modifier will produce this:
self.set_modifier_value(self.get_modifier_value(“m1”), “value to set”)
But it should be this:
self.set_modifier_value(“m1”, “value to set”)

Just came across this bug and logging it here until we are able to investigate and fix it.

JohnC Edited question