Fix freestyle lineset panels being animatable

This commit is contained in:
Aaron Carlisle 2017-06-25 20:03:19 -04:00
parent 957a77c0ba
commit b0ee9aaa5d
Notes: blender-bot 2023-02-14 06:51:05 +01:00
Referenced by issue #51900, Crash after pressing "F" multiple times.
1 changed files with 1 additions and 0 deletions

View File

@ -1620,6 +1620,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
prop = RNA_def_property(srna, "panel", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_bitflag_sdna(prop, NULL, "panel");
RNA_def_property_enum_items(prop, panel_items);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_text(prop, "Panel", "Select the property panel to be shown");
prop = RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR);