mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
Update entity tool grabbers look and size
This commit is contained in:
parent
b97870f32e
commit
b3ca6fda72
1 changed files with 9 additions and 2 deletions
|
@ -273,6 +273,8 @@ SelectionDisplay = (function () {
|
|||
visible: false,
|
||||
dashed: false,
|
||||
lineWidth: grabberLineWidth,
|
||||
drawInFront: true,
|
||||
borderSize: 1.4,
|
||||
};
|
||||
|
||||
var grabberPropertiesEdge = {
|
||||
|
@ -284,6 +286,8 @@ SelectionDisplay = (function () {
|
|||
visible: false,
|
||||
dashed: false,
|
||||
lineWidth: grabberLineWidth,
|
||||
drawInFront: true,
|
||||
borderSize: 1.4,
|
||||
};
|
||||
|
||||
var grabberPropertiesFace = {
|
||||
|
@ -295,6 +299,8 @@ SelectionDisplay = (function () {
|
|||
visible: false,
|
||||
dashed: false,
|
||||
lineWidth: grabberLineWidth,
|
||||
drawInFront: true,
|
||||
borderSize: 1.4,
|
||||
};
|
||||
|
||||
var highlightBox = Overlays.addOverlay("cube", {
|
||||
|
@ -328,7 +334,8 @@ SelectionDisplay = (function () {
|
|||
visible: false,
|
||||
size: 0.1,
|
||||
scale: 0.1,
|
||||
isFacingAvatar: true
|
||||
isFacingAvatar: true,
|
||||
drawInFront: true,
|
||||
});
|
||||
|
||||
// var normalLine = Overlays.addOverlay("line3d", {
|
||||
|
@ -2293,7 +2300,7 @@ SelectionDisplay = (function () {
|
|||
size: grabberSize,
|
||||
});
|
||||
}
|
||||
var handleSize = Vec3.length(diff) * GRABBER_DISTANCE_TO_SIZE_RATIO * 5;
|
||||
var handleSize = Vec3.length(diff) * GRABBER_DISTANCE_TO_SIZE_RATIO * 10;
|
||||
Overlays.editOverlay(yawHandle, {
|
||||
scale: handleSize,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue