mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
Fix local entity grab in VR
This commit is contained in:
parent
b6f148576a
commit
39a0ee960c
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ Script.include("/~/system/libraries/utils.js");
|
|||
this.endNearParentingGrabOverlay = function () {
|
||||
var previousParentID = this.previousParentID[this.grabbedThingID];
|
||||
if ((previousParentID === Uuid.NULL || previousParentID === null) && !this.robbed) {
|
||||
Overlays.editOverlay(this.grabbedThingID, {
|
||||
Entities.editEntity(this.grabbedThingID, {
|
||||
parentID: Uuid.NULL,
|
||||
parentJointIndex: -1
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue