Fix #30968: Lightmap Pack - no new image limit
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Apr 2012 11:54:28 +0000 (11:54 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Apr 2012 11:54:28 +0000 (11:54 +0000)
Disable operator register and redo flags because it might modify non-mesh
data when in edit mode. This doesn't work properly with current undo stack
design.

release/scripts/startup/bl_operators/uvcalc_lightmap.py

index 9e1ebbac806c2fb2d82f8ad58f3c1dcf5d939c99..3074db17d0fecb446e613e790c16fe0ec888b584 100644 (file)
@@ -549,7 +549,6 @@ class LightMapPack(Operator):
     '''Follow UVs from active quads along continuous face loops'''
     bl_idname = "uv.lightmap_pack"
     bl_label = "Lightmap Pack"
-    bl_options = {'REGISTER', 'UNDO'}
 
     PREF_CONTEXT = bpy.props.EnumProperty(
             name="Selection",