Cleanup: remove debug prints.

This commit is contained in:
Bastien Montagne 2020-07-15 15:51:13 +02:00
parent cda6da4957
commit a082e49671
2 changed files with 0 additions and 11 deletions

View File

@ -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) {

View File

@ -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);