[Bf-blender-cvs] [a082e496719] master: Cleanup: remove debug prints.
Bastien Montagne
noreply at git.blender.org
Wed Jul 15 18:17:39 CEST 2020
Commit: a082e4967192e3735e979aee42e003401409053e
Author: Bastien Montagne
Date: Wed Jul 15 15:51:13 2020 +0200
Branches: master
https://developer.blender.org/rBa082e4967192e3735e979aee42e003401409053e
Cleanup: remove debug prints.
===================================================================
M source/blender/editors/object/object_relations.c
M source/blender/editors/space_outliner/outliner_tools.c
===================================================================
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 945c7e87eb1..94f85641a73 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -2397,14 +2397,6 @@ static int make_override_library_exec(bContext *C, wmOperator *op)
/* Note that this call will also free the main relations data we created above. */
BKE_lib_override_library_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, false);
- ID *id;
- FOREACH_MAIN_ID_BEGIN (bmain, id) {
- if (id->tag & LIB_TAG_DOIT && id->lib != NULL) {
- printf("ID %s tagged for override\n", id->name);
- }
- }
- FOREACH_MAIN_ID_END;
-
success = BKE_lib_override_library_create_from_tag(bmain);
if (success) {
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index f0287984268..de6f169e574 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -763,8 +763,6 @@ static void id_override_library_cb(bContext *C,
id_root->tag |= LIB_TAG_DOIT;
- printf("%s: Tagging root id %s\n", __func__, id_root->name);
-
/* For now, remapp all local usages of linked ID to local override one here. */
ID *id_iter;
FOREACH_MAIN_ID_BEGIN (bmain, id_iter) {
@@ -787,7 +785,6 @@ static void id_override_library_cb(bContext *C,
break;
}
te->store_elem->id->tag |= LIB_TAG_DOIT;
- printf("%s: Tagging parent id %s\n", __func__, te->store_elem->id->name);
}
BKE_lib_override_library_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, true);
BKE_lib_override_library_create_from_tag(bmain);
More information about the Bf-blender-cvs
mailing list