View 3D Pie Menus: Blender 2.8 fixes
This commit is contained in:
parent
22fc4cc621
commit
30e26a0082
|
@ -44,13 +44,7 @@ class WManupulators(Operator):
|
|||
bl_description = " Show/Hide Manipulator"
|
||||
|
||||
def execute(self, context):
|
||||
|
||||
if context.space_data.show_manipulator is True:
|
||||
context.space_data.show_manipulator = False
|
||||
|
||||
elif context.space_data.show_manipulator is False:
|
||||
context.space_data.show_manipulator = True
|
||||
|
||||
context.space_data.show_gizmo_tool = not context.space_data.show_gizmo_tool
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class OrientPoll(Operator):
|
|||
return context.space_data.type == "VIEW_3D"
|
||||
|
||||
def execute(self, context):
|
||||
context.space_data.transform_orientation = self.space
|
||||
context.scene.transform_orientation = self.space
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue