Skip to content

Doesn't work in post 2.8 versions of blender because of property annotation #1

@martyfouts

Description

@martyfouts

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions