fix for presets reusing previous options (which broke preset add/remove)
authorCampbell Barton <ideasman42@gmail.com>
Thu, 9 Feb 2012 13:02:22 +0000 (13:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 9 Feb 2012 13:02:22 +0000 (13:02 +0000)
release/scripts/startup/bl_operators/presets.py

index 946543cc864f75dd660ca7cbc7d7af214dec69b8..f317295d2e5805483b5a16e2060bf08f2d54231d 100644 (file)
@@ -35,10 +35,11 @@ class AddPresetBase():
             name="Name",
             description="Name of the preset, used to make the path name",
             maxlen=64,
+            options={'SKIP_SAVE'},
             )
     remove_active = bpy.props.BoolProperty(
             default=False,
-            options={'HIDDEN'},
+            options={'HIDDEN', 'SKIP_SAVE'},
             )
 
     @staticmethod