diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-31 12:46:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-31 12:46:41 +0400 |
commit | 278e2bc3a4a60eb2667954129dc8cbd51267209b (patch) | |
tree | 8120490c81483291a0ab3c966dc0a7fea3ee5331 /release | |
parent | e339acf3a948f279e359706ab1eae7734725f833 (diff) |
use poppups for python UV unwrap operators (since they are too slow to be realtime). this change was lost when moving the menu items about.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 13270a8c6fd..d5930c3d14c 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -240,12 +240,15 @@ class VIEW3D_MT_uv_map(bpy.types.Menu): layout = self.layout layout.operator("uv.unwrap") + + layout.operator_context = 'INVOKE_DEFAULT' layout.operator("uv.smart_project") layout.operator("uv.lightmap_pack") layout.operator("uv.follow_active_quads") layout.separator() + layout.operator_context = 'EXEC_DEFAULT' layout.operator("uv.cube_project") layout.operator("uv.cylinder_project") layout.operator("uv.sphere_project") |