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:
Sybren A. Stüvel 2020-11-02 10:11:19 +01:00
parent 276d19f63b
commit 9e736fc984
1 changed files with 1 additions and 1 deletions

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