mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:13:05 +02:00
Merge branch 'fix-parent-grab' of github.com:sethalves/hifi into fix-parent-grab
This commit is contained in:
commit
216888aa03
1 changed files with 1 additions and 0 deletions
|
@ -499,6 +499,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
|
||||||
var cloneID = this.cloneHotspot(grabbedProperties, controllerData);
|
var cloneID = this.cloneHotspot(grabbedProperties, controllerData);
|
||||||
this.targetEntityID = cloneID;
|
this.targetEntityID = cloneID;
|
||||||
Entities.editEntity(this.targetEntityID, reparentProps);
|
Entities.editEntity(this.targetEntityID, reparentProps);
|
||||||
|
controllerData.nearbyEntityPropertiesByID[this.targetEntityID] = grabbedProperties;
|
||||||
isClone = true;
|
isClone = true;
|
||||||
} else if (!grabbedProperties.locked) {
|
} else if (!grabbedProperties.locked) {
|
||||||
Entities.editEntity(this.targetEntityID, reparentProps);
|
Entities.editEntity(this.targetEntityID, reparentProps);
|
||||||
|
|
Loading…
Reference in a new issue