Skip to content

Blender 2.9x Attribute Error: '_Restrict Context' object has no attribute 'scene' #18

@adnanmunawar

Description

@adnanmunawar
File "ambf_addon.py", line 120, in set_view_transform_orientation_to_local:
    bpy.context.scene.transform_orientation_slots[0].type = 'LOCAL'
Attribute Error: '_Restrict Context' object has not attribute 'scene'

This line works for Blender 3.x and not for 2.9x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions