Revert "Parenting: fix return value when parenting object to itself"

This reverts commit ad35fa1993, it had
unintended side-effects (T82312).
This commit is contained in:
2020-11-02 10:11:19 +01:00
parent d49c71e96e
commit cc09c0d048

View File

@@ -696,7 +696,7 @@ bool ED_object_parent_set(ReportList *reports,
/* Preconditions. */
if (ob == par) {
/* Parenting an object to itself is impossible. */
return false;
return true;
}
if (BKE_object_parent_loop_check(par, ob)) {