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:
parent
276d19f63b
commit
9e736fc984
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue