diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_main_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_main_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c index fb0aeffcffb..d504585f738 100644 --- a/source/blender/makesrna/intern/rna_main_api.c +++ b/source/blender/makesrna/intern/rna_main_api.c @@ -681,7 +681,7 @@ static void rna_Main_worlds_remove(Main *bmain, ReportList *reports, PointerRNA static Group *rna_Main_groups_new(Main *bmain, const char *name) { - return add_group(bmain, name); + return BKE_group_add(bmain, name); } static void rna_Main_groups_remove(Main *bmain, PointerRNA *group_ptr) { |