mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #12720 from druiz17/fix-parent-tree
Fix far grabbing a grabbable child when the parent is not grabbable.
This commit is contained in:
commit
542d1ad1ff
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ Script.include("/~/system/libraries/Xform.js");
|
|||
entityID = targetEntity.id;
|
||||
targetProps = targetEntity.props;
|
||||
|
||||
if (entityIsGrabbable(targetProps)) {
|
||||
if (entityIsGrabbable(targetProps) || entityIsGrabbable(this.targetObject.entityProps)) {
|
||||
if (!entityIsDistanceGrabbable(targetProps)) {
|
||||
this.targetObject.makeDynamic();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue