Fix #29518: uv cylinder/sphere unwrap from menu didn't work same as using U key menu.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 7 Dec 2011 11:22:29 +0000 (11:22 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 7 Dec 2011 11:22:29 +0000 (11:22 +0000)
release/scripts/startup/bl_ui/space_view3d.py

index ce0d56b9fcacf39a59ee1b06a9fb692d73dce615..5444ad327a988262dfcf77c57f1535d68b175b5b 100644 (file)
@@ -255,7 +255,7 @@ class VIEW3D_MT_uv_map(Menu):
 
         layout.separator()
 
-        layout.operator_context = 'EXEC_DEFAULT'
+        layout.operator_context = 'EXEC_REGION_WIN'
         layout.operator("uv.cube_project")
         layout.operator("uv.cylinder_project")
         layout.operator("uv.sphere_project")