diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-30 06:25:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-30 06:25:27 +0400 |
commit | 0d6ae3fda2e5a3dbde941b6985e6895a42c71b9e (patch) | |
tree | b0c89b9a01da31fffc6b6db7c9395ff2db97de53 /source/blender/editors/object/object_group.c | |
parent | 19103b443711d7c1b3a24f7fab949f71343d8200 (diff) |
Main API: refactor naming, use BKE_main_ prefix and add main arg.
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; |