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

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

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