Fix #32165: context_set_value didn't make an undo push when changing scene settings
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 24 Jul 2012 15:51:26 +0000 (15:51 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 24 Jul 2012 15:51:26 +0000 (15:51 +0000)
This lead to such issues as changing mesh selection mode wasn't doing undo push
when it need to.

release/scripts/startup/bl_operators/wm.py

index 18450ebe3162af158aaf0ff3da584a4a9cd978bf..a81733fe59cb15dadff0eaeb0c810b4e516c76ba 100644 (file)
@@ -101,7 +101,6 @@ def operator_value_is_undo(value):
     return (isinstance(id_data, bpy.types.ID) and
             (not isinstance(id_data, (bpy.types.WindowManager,
                                       bpy.types.Screen,
-                                      bpy.types.Scene,
                                       bpy.types.Brush,
                                       ))))