mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
Merge pull request #671 from overte-org/fix/vr_local_entity_grab
Fix local entity grab in VR
This commit is contained in:
commit
fde4e1f26f
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ Script.include("/~/system/libraries/utils.js");
|
||||||
this.endNearParentingGrabOverlay = function () {
|
this.endNearParentingGrabOverlay = function () {
|
||||||
var previousParentID = this.previousParentID[this.grabbedThingID];
|
var previousParentID = this.previousParentID[this.grabbedThingID];
|
||||||
if ((previousParentID === Uuid.NULL || previousParentID === null) && !this.robbed) {
|
if ((previousParentID === Uuid.NULL || previousParentID === null) && !this.robbed) {
|
||||||
Overlays.editOverlay(this.grabbedThingID, {
|
Entities.editEntity(this.grabbedThingID, {
|
||||||
parentID: Uuid.NULL,
|
parentID: Uuid.NULL,
|
||||||
parentJointIndex: -1
|
parentJointIndex: -1
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue