You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blender now requires that properties be annotations rather than assignments when they are initialized, meaning that anywhere there is a 'Foo = BARProperty(...)' statement the '=' has to change to a ':'. The symptom of this is that trying to use the addon produces
line 200, in execute seededRandomAngle = (self.rotation_angle_step * (random.Random(self.rotation_seed + obj_id).randint(1, 90))) % math.radians(360)
type error: unsupported operand types for +: '_PropertyDeferred' and 'int'
The text was updated successfully, but these errors were encountered:
Fixed it following Marty's advice and made a pull request, fork here: https://github.com/16RoebuW/blender-stacking-tool. I'm new to GitHub so if I need to credit anyone in a specific place please let me know, but the code works.
Blender now requires that properties be annotations rather than assignments when they are initialized, meaning that anywhere there is a 'Foo = BARProperty(...)' statement the '=' has to change to a ':'. The symptom of this is that trying to use the addon produces
line 200, in execute seededRandomAngle = (self.rotation_angle_step * (random.Random(self.rotation_seed + obj_id).randint(1, 90))) % math.radians(360)
type error: unsupported operand types for +: '_PropertyDeferred' and 'int'
The text was updated successfully, but these errors were encountered: