CR feedback

This commit is contained in:
ZappoMan 2014-10-03 09:49:54 -07:00
parent 00799e39e1
commit 4ab0a8e13d
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ void RenderableModelEntityItem::render(RenderArgs* args) {
if (drawAsModel) { if (drawAsModel) {
glPushMatrix(); glPushMatrix();
{ {
const float alpha = getLocalRenderAlpha(); float alpha = getLocalRenderAlpha();
if (!_model || _needsModelReload) { if (!_model || _needsModelReload) {
// TODO: this getModel() appears to be about 3% of model render time. We should optimize // TODO: this getModel() appears to be about 3% of model render time. We should optimize

View file

@ -24,8 +24,8 @@ const bool DEFAULT_IS_DASHED_LINE = false;
Base3DOverlay::Base3DOverlay() : Base3DOverlay::Base3DOverlay() :
_position(DEFAULT_POSITION), _position(DEFAULT_POSITION),
_lineWidth(DEFAULT_LINE_WIDTH), _lineWidth(DEFAULT_LINE_WIDTH),
_isSolid(DEFAULT_IS_SOLID),
_rotation(), _rotation(),
_isSolid(DEFAULT_IS_SOLID),
_isDashedLine(DEFAULT_IS_DASHED_LINE), _isDashedLine(DEFAULT_IS_DASHED_LINE),
_ignoreRayIntersection(false) _ignoreRayIntersection(false)
{ {