Rollback the previous commit, it breaks too many things.
[INTERPRETER] * BUG: Rollback the previous commit, it breaks too many things.
This commit is contained in:
parent
742b65afc7
commit
ea04ca6e6a
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ OBJECT *OBJECT_active_parent(void *object)
|
|||
{
|
||||
OBJECT *parent = OBJECT_parent(object);
|
||||
|
||||
if (!parent || OBJECT_is_locked((OBJECT *)object)) // || OBJECT_is_locked(parent))
|
||||
if (!parent || OBJECT_is_locked((OBJECT *)object) || OBJECT_is_locked(parent))
|
||||
return NULL;
|
||||
|
||||
return parent;
|
||||
|
|
Loading…
Reference in a new issue