[Bf-blender-cvs] [48ae702] blender-v2.77-release: Fix missing 'anim_data' in RNA API of Freestyle's linestyle.
Bastien Montagne
noreply at git.blender.org
Fri Mar 18 12:15:35 CET 2016
Commit: 48ae702c3c394c14ca24b5254eb92dc2f7571eca
Author: Bastien Montagne
Date: Wed Mar 16 20:19:57 2016 +0100
Branches: blender-v2.77-release
https://developer.blender.org/rB48ae702c3c394c14ca24b5254eb92dc2f7571eca
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