diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-08-08 18:02:18 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-08-08 18:02:18 +0400 |
commit | 40a1c8b4ed1e766e37475d5e6367b0f96556d7cc (patch) | |
tree | a53f00547a66ff2f4491662a1008d8e9d65bacd5 /source/blender/editors/space_nla/nla_channels.c | |
parent | 73c191b53483530a3acc3f7a9eefda0e161bd9c2 (diff) |
Disable saving property defaults for many of the properties for animation-editor
click activated operators to prevent any further errors
Diffstat (limited to 'source/blender/editors/space_nla/nla_channels.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_channels.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c index af790443928..b3a869ed57d 100644 --- a/source/blender/editors/space_nla/nla_channels.c +++ b/source/blender/editors/space_nla/nla_channels.c @@ -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); } /* *********************************************** */ |