diff options
Diffstat (limited to 'source/blender/editors/object/object_group.c')
-rw-r--r-- | source/blender/editors/object/object_group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_group.c b/source/blender/editors/object/object_group.c index 7e0bd2a4da7..2f27b45c055 100644 --- a/source/blender/editors/object/object_group.c +++ b/source/blender/editors/object/object_group.c @@ -188,7 +188,7 @@ static int objects_add_active_exec(bContext *C, wmOperator *op) continue; /* for recursive check */ - tag_main_lb(&bmain->group, TRUE); + BKE_main_id_tag_listbase(&bmain->group, true); CTX_DATA_BEGIN (C, Base *, base, selected_editable_bases) { @@ -494,7 +494,7 @@ static int group_link_exec(bContext *C, wmOperator *op) * It is also bad idea to add object to group which is in group which * contains our current object. */ - tag_main_lb(&bmain->group, TRUE); + BKE_main_id_tag_listbase(&bmain->group, true); if (ob->dup_group == group || check_group_contains_object_recursive(group, ob)) { BKE_report(op->reports, RPT_ERROR, "Could not add the group because of dependency cycle detected"); return OPERATOR_CANCELLED; |