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

Reported by Manuel Rais on ML, thanks.
This commit is contained in:
Bastien Montagne 2016-03-16 20:19:57 +01:00 committed by Sergey Sharybin
parent 2b0f0ffe0a
commit 48ae702c3c
1 changed files with 3 additions and 0 deletions

View File

@ -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");