[Bf-blender-cvs] [6952d75] master: Fix missing 'anim_data' in RNA API of Freestyle's linestyle.

Bastien Montagne noreply at git.blender.org
Wed Mar 16 20:21:18 CET 2016


Commit: 6952d75e3b4fa1f79634384f79f3648c24e54f3c
Author: Bastien Montagne
Date:   Wed Mar 16 20:19:57 2016 +0100
Branches: master
https://developer.blender.org/rB6952d75e3b4fa1f79634384f79f3648c24e54f3c

Fix missing 'anim_data' in RNA API of Freestyle's linestyle.

Reported by Manuel Rais on ML, thanks.

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

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 147ac22..d8cc61b 100644
--- a/source/blender/makesrna/intern/rna_linestyle.c
+++ b/source/blender/makesrna/intern/rna_linestyle.c
@@ -1891,6 +1891,9 @@ static void rna_def_linestyle(BlenderRNA *brna)
 	RNA_def_property_ui_text(prop, "Texture spacing", "Spacing for textures along stroke length");
 	RNA_def_property_update(prop, NC_LINESTYLE, "rna_LineStyle_update");
 
+	/* anim */
+	rna_def_animdata_common(srna);
+
 	/* nodes */
 	prop = RNA_def_property(srna, "node_tree", PROP_POINTER, PROP_NONE);
 	RNA_def_property_pointer_sdna(prop, NULL, "nodetree");




More information about the Bf-blender-cvs mailing list