mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
use alpha 1 for edit handles
This commit is contained in:
parent
34697b6b07
commit
a6d944e034
1 changed files with 6 additions and 0 deletions
|
@ -494,6 +494,7 @@ SelectionDisplay = (function() {
|
||||||
that.replaceCollisionsAfterStretch = false;
|
that.replaceCollisionsAfterStretch = false;
|
||||||
|
|
||||||
var handlePropertiesTranslateArrowCones = {
|
var handlePropertiesTranslateArrowCones = {
|
||||||
|
alpha: 1,
|
||||||
shape: "Cone",
|
shape: "Cone",
|
||||||
solid: true,
|
solid: true,
|
||||||
visible: false,
|
visible: false,
|
||||||
|
@ -501,6 +502,7 @@ SelectionDisplay = (function() {
|
||||||
drawInFront: true
|
drawInFront: true
|
||||||
};
|
};
|
||||||
var handlePropertiesTranslateArrowCylinders = {
|
var handlePropertiesTranslateArrowCylinders = {
|
||||||
|
alpha: 1,
|
||||||
shape: "Cylinder",
|
shape: "Cylinder",
|
||||||
solid: true,
|
solid: true,
|
||||||
visible: false,
|
visible: false,
|
||||||
|
@ -577,6 +579,7 @@ SelectionDisplay = (function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
var handlePropertiesStretchSpheres = {
|
var handlePropertiesStretchSpheres = {
|
||||||
|
alpha: 1,
|
||||||
shape: "Sphere",
|
shape: "Sphere",
|
||||||
solid: true,
|
solid: true,
|
||||||
visible: false,
|
visible: false,
|
||||||
|
@ -606,6 +609,7 @@ SelectionDisplay = (function() {
|
||||||
Overlays.editOverlay(handleStretchZPanel, { color: COLOR_BLUE });
|
Overlays.editOverlay(handleStretchZPanel, { color: COLOR_BLUE });
|
||||||
|
|
||||||
var handlePropertiesScaleCubes = {
|
var handlePropertiesScaleCubes = {
|
||||||
|
alpha: 1,
|
||||||
size: 0.025,
|
size: 0.025,
|
||||||
color: COLOR_SCALE_CUBE,
|
color: COLOR_SCALE_CUBE,
|
||||||
solid: true,
|
solid: true,
|
||||||
|
@ -624,6 +628,7 @@ SelectionDisplay = (function() {
|
||||||
var handleScaleRTFCube = Overlays.addOverlay("cube", handlePropertiesScaleCubes); // ( x, y, z)
|
var handleScaleRTFCube = Overlays.addOverlay("cube", handlePropertiesScaleCubes); // ( x, y, z)
|
||||||
|
|
||||||
var handlePropertiesScaleEdge = {
|
var handlePropertiesScaleEdge = {
|
||||||
|
alpha: 1,
|
||||||
color: COLOR_SCALE_EDGE,
|
color: COLOR_SCALE_EDGE,
|
||||||
visible: false,
|
visible: false,
|
||||||
ignoreRayIntersection: true,
|
ignoreRayIntersection: true,
|
||||||
|
@ -644,6 +649,7 @@ SelectionDisplay = (function() {
|
||||||
var handleScaleFLEdge = Overlays.addOverlay("line3d", handlePropertiesScaleEdge);
|
var handleScaleFLEdge = Overlays.addOverlay("line3d", handlePropertiesScaleEdge);
|
||||||
|
|
||||||
var handleCloner = Overlays.addOverlay("cube", {
|
var handleCloner = Overlays.addOverlay("cube", {
|
||||||
|
alpha: 1,
|
||||||
size: 0.05,
|
size: 0.05,
|
||||||
color: COLOR_GREEN,
|
color: COLOR_GREEN,
|
||||||
solid: true,
|
solid: true,
|
||||||
|
|
Loading…
Reference in a new issue