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.

This commit is contained in:
Campbell Barton 2011-03-31 08:46:41 +00:00
parent e339acf3a9
commit 278e2bc3a4

@ -240,12 +240,15 @@ class VIEW3D_MT_uv_map(bpy.types.Menu):
layout = self.layout layout = self.layout
layout.operator("uv.unwrap") layout.operator("uv.unwrap")
layout.operator_context = 'INVOKE_DEFAULT'
layout.operator("uv.smart_project") layout.operator("uv.smart_project")
layout.operator("uv.lightmap_pack") layout.operator("uv.lightmap_pack")
layout.operator("uv.follow_active_quads") layout.operator("uv.follow_active_quads")
layout.separator() layout.separator()
layout.operator_context = 'EXEC_DEFAULT'
layout.operator("uv.cube_project") layout.operator("uv.cube_project")
layout.operator("uv.cylinder_project") layout.operator("uv.cylinder_project")
layout.operator("uv.sphere_project") layout.operator("uv.sphere_project")