mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +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
|
||||
});
|
||||
|
||||
Overlays.editOverlay(grabberCloner, {
|
||||
visible: true,
|
||||
rotation: rotation,
|
||||
position: EdgeTR
|
||||
});
|
||||
|
||||
var boxPosition = Vec3.multiplyQbyV(rotation, center);
|
||||
boxPosition = Vec3.sum(position, boxPosition);
|
||||
Overlays.editOverlay(selectionBox, {
|
||||
|
@ -2318,11 +2324,6 @@ SelectionDisplay = (function() {
|
|||
},
|
||||
rotation: Quat.fromPitchYawRollDegrees(90, 0, 0),
|
||||
});
|
||||
Overlays.editOverlay(grabberCloner, {
|
||||
visible: stretchHandlesVisible,
|
||||
rotation: rotation,
|
||||
position: RIGHT
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue