diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 48d0451632a..5e022aee0ed 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3734,11 +3734,11 @@ class VIEW3D_PT_transform_orientations(Panel): def draw(self, context): layout = self.layout - view = context.space_data - orientation = view.current_orientation + scene = context.scene + orientation = scene.current_orientation row = layout.row(align=True) - row.prop(view, "transform_orientation", text="") + row.prop(scene, "transform_orientation", text="") row.operator("transform.create_orientation", text="", icon='ZOOMIN') if orientation: |