Cleanup: remove debug prints.
This commit is contained in:
parent
cda6da4957
commit
a082e49671
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue