Fix broken NLA RNA code after own rBfa6a913ef19c.

Thanks to @scurest for noticing this mistake!
This commit is contained in:
Bastien Montagne 2021-11-22 09:31:59 +01:00
parent 6eaa69c66c
commit 6c16bb2706
1 changed files with 2 additions and 2 deletions

View File

@ -885,6 +885,8 @@ static void rna_def_nlatrack(BlenderRNA *brna)
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_ui_text(prop, "NLA Strips", "NLA Strips on this NLA-track");
rna_api_nlatrack_strips(brna, prop);
prop = RNA_def_boolean(srna,
"is_override_data",
false,
@ -894,8 +896,6 @@ static void rna_def_nlatrack(BlenderRNA *brna)
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", NLATRACK_OVERRIDELIBRARY_LOCAL);
rna_api_nlatrack_strips(brna, prop);
RNA_define_lib_overridable(true);
/* name property */