[Bf-blender-cvs] [b0ee9aaa5d3] master: Fix freestyle lineset panels being animatable

Aaron Carlisle noreply at git.blender.org
Mon Jun 26 02:03:20 CEST 2017


Commit: b0ee9aaa5d3dbf760171927439a68b5d181b2317
Author: Aaron Carlisle
Date:   Sun Jun 25 20:03:19 2017 -0400
Branches: master
https://developer.blender.org/rBb0ee9aaa5d3dbf760171927439a68b5d181b2317

Fix freestyle lineset panels being animatable

===================================================================

M	source/blender/makesrna/intern/rna_linestyle.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c
index 1199cccc4e6..a163d9764c1 100644
--- a/source/blender/makesrna/intern/rna_linestyle.c
+++ b/source/blender/makesrna/intern/rna_linestyle.c
@@ -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);




More information about the Bf-blender-cvs mailing list