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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user