fixed messed up transparency on edit selection of shapes

This commit is contained in:
SamGondelman 2016-08-05 18:35:16 -07:00
parent dd51e0e38f
commit b23d3cd35a
2 changed files with 1 additions and 4 deletions

View file

@ -75,7 +75,7 @@ bool RenderableShapeEntityItem::isTransparent() {
if (_procedural && _procedural->ready()) {
return Interpolate::calculateFadeRatio(_procedural->getFadeStartTime()) < 1.0f;
} else {
return EntityItem::isTransparent();
return getLocalRenderAlpha() < 1.0f || EntityItem::isTransparent();
}
}

View file

@ -1109,9 +1109,6 @@ SelectionDisplay = (function() {
}
Entities.editEntity(entityID, {
localRenderAlpha: 0.1
});
Overlays.editOverlay(highlightBox, {
visible: false
});