Disable saving property defaults for many of the properties for animation-editor
[blender.git] / source / blender / editors / space_nla / nla_channels.c
index af7904439284409da6c8b9f55c5219932183346d..b3a869ed57dadd947f3314589bc90c982565d959 100644 (file)
@@ -343,6 +343,8 @@ static int nlachannels_mouseclick_invoke(bContext *C, wmOperator *op, wmEvent *e
  
 void NLA_OT_channels_click(wmOperatorType *ot)
 {
+       PropertyRNA *prop;
+       
        /* identifiers */
        ot->name = "Mouse Click on NLA Channels";
        ot->idname = "NLA_OT_channels_click";
@@ -355,8 +357,9 @@ void NLA_OT_channels_click(wmOperatorType *ot)
        /* flags */
        ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
        
-       /* id-props */
-       RNA_def_boolean(ot->srna, "extend", 0, "Extend Select", ""); // SHIFTKEY
+       /* props */
+       prop = RNA_def_boolean(ot->srna, "extend", 0, "Extend Select", ""); // SHIFTKEY
+       RNA_def_property_flag(prop, PROP_SKIP_SAVE);
 }
 
 /* *********************************************** */