diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_group.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_group.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_group.c b/source/blender/makesrna/intern/rna_group.c index a1b5bf85bf7..7cd0bac402a 100644 --- a/source/blender/makesrna/intern/rna_group.c +++ b/source/blender/makesrna/intern/rna_group.c @@ -72,11 +72,10 @@ static void rna_def_group_objects(BlenderRNA *brna, PropertyRNA *cprop) FunctionRNA *func; PropertyRNA *parm; - srna= RNA_def_struct(brna, "GroupObjectCollection", NULL); + RNA_def_property_srna(cprop, "GroupObjects"); + srna= RNA_def_struct(brna, "GroupObjects", NULL); RNA_def_struct_sdna(srna, "Group"); - RNA_def_struct_ui_text(srna, "GroupObjects", "Collection of group objects."); - - RNA_def_property_srna(cprop, "GroupObjectCollection"); + RNA_def_struct_ui_text(srna, "Group Objects", "Collection of group objects."); /* add object */ func= RNA_def_function(srna, "link", "rna_Group_objects_link"); |