mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 00:28:40 +02:00
fixed messed up transparency on edit selection of shapes
This commit is contained in:
parent
dd51e0e38f
commit
b23d3cd35a
2 changed files with 1 additions and 4 deletions
|
@ -75,7 +75,7 @@ bool RenderableShapeEntityItem::isTransparent() {
|
||||||
if (_procedural && _procedural->ready()) {
|
if (_procedural && _procedural->ready()) {
|
||||||
return Interpolate::calculateFadeRatio(_procedural->getFadeStartTime()) < 1.0f;
|
return Interpolate::calculateFadeRatio(_procedural->getFadeStartTime()) < 1.0f;
|
||||||
} else {
|
} else {
|
||||||
return EntityItem::isTransparent();
|
return getLocalRenderAlpha() < 1.0f || EntityItem::isTransparent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1109,9 +1109,6 @@ SelectionDisplay = (function() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Entities.editEntity(entityID, {
|
|
||||||
localRenderAlpha: 0.1
|
|
||||||
});
|
|
||||||
Overlays.editOverlay(highlightBox, {
|
Overlays.editOverlay(highlightBox, {
|
||||||
visible: false
|
visible: false
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue