Commit: 3e0920c61acda3d5fd685a192ed09b0ead6332ab
Author: Campbell Barton
Date:   Fri Jul 6 11:17:50 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB3e0920c61acda3d5fd685a192ed09b0ead6332ab

Fix view pie menu

===================================================================

M       release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py 
b/release/scripts/startup/bl_ui/space_view3d.py
index 3c367236cb1..611deb1889b 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3582,7 +3582,8 @@ class VIEW3D_MT_view_pie(Menu):
         layout = self.layout
 
         pie = layout.menu_pie()
-        pie.operator_enum("VIEW3D_OT_viewnumpad", "type")
+        pie.operator_enum("VIEW3D_OT_view_axis", "type")
+        pie.operator("view3d.view_camera", text="View Camera", 
icon='CAMERA_DATA')
         pie.operator("view3d.view_selected", text="View Selected", 
icon='ZOOM_SELECTED')

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to