Fix freestyle lineset panels being animatable
authorAaron Carlisle <carlisle.b3d@gmail.com>
Mon, 26 Jun 2017 00:03:19 +0000 (20:03 -0400)
committerAaron Carlisle <carlisle.b3d@gmail.com>
Mon, 26 Jun 2017 00:03:19 +0000 (20:03 -0400)
source/blender/makesrna/intern/rna_linestyle.c

index 1199cccc4e6aba6e0d11ab23b12302e7a23e5507..a163d9764c1634f1be9b9369929462b6caa9e8cd 100644 (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);