Correct orientation pie menu
[blender.git] / release / scripts / startup / bl_ui / space_view3d.py
index 12ac369835973c8948f35fc4cd8aa53bbb76e602..46a57d2501e5c4e4db348198db091dc1c4981763 100644 (file)
@@ -4130,7 +4130,7 @@ class VIEW3D_MT_orientations_pie(Menu):
         pie = layout.menu_pie()
         scene = context.scene
 
-        pie.prop(scene, "transform_orientation", expand=True)
+        pie.prop(scene.transform_orientation_slots[0], "type", expand=True)
 
 
 class VIEW3D_MT_snap_pie(Menu):