mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 13:07:04 +02:00
Updated HMD grab Clone to work with all entity types.
This commit is contained in:
parent
dae652d3db
commit
89d93ee56d
1 changed files with 6 additions and 5 deletions
|
@ -2162,6 +2162,12 @@ SelectionDisplay = (function() {
|
||||||
position: FAR
|
position: FAR
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Overlays.editOverlay(grabberCloner, {
|
||||||
|
visible: true,
|
||||||
|
rotation: rotation,
|
||||||
|
position: EdgeTR
|
||||||
|
});
|
||||||
|
|
||||||
var boxPosition = Vec3.multiplyQbyV(rotation, center);
|
var boxPosition = Vec3.multiplyQbyV(rotation, center);
|
||||||
boxPosition = Vec3.sum(position, boxPosition);
|
boxPosition = Vec3.sum(position, boxPosition);
|
||||||
Overlays.editOverlay(selectionBox, {
|
Overlays.editOverlay(selectionBox, {
|
||||||
|
@ -2318,11 +2324,6 @@ SelectionDisplay = (function() {
|
||||||
},
|
},
|
||||||
rotation: Quat.fromPitchYawRollDegrees(90, 0, 0),
|
rotation: Quat.fromPitchYawRollDegrees(90, 0, 0),
|
||||||
});
|
});
|
||||||
Overlays.editOverlay(grabberCloner, {
|
|
||||||
visible: stretchHandlesVisible,
|
|
||||||
rotation: rotation,
|
|
||||||
position: RIGHT
|
|
||||||
});
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue