mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 18:13:29 +02:00
CR feedback
This commit is contained in:
parent
00799e39e1
commit
4ab0a8e13d
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ void RenderableModelEntityItem::render(RenderArgs* args) {
|
|||
if (drawAsModel) {
|
||||
glPushMatrix();
|
||||
{
|
||||
const float alpha = getLocalRenderAlpha();
|
||||
float alpha = getLocalRenderAlpha();
|
||||
|
||||
if (!_model || _needsModelReload) {
|
||||
// TODO: this getModel() appears to be about 3% of model render time. We should optimize
|
||||
|
|
|
@ -24,8 +24,8 @@ const bool DEFAULT_IS_DASHED_LINE = false;
|
|||
Base3DOverlay::Base3DOverlay() :
|
||||
_position(DEFAULT_POSITION),
|
||||
_lineWidth(DEFAULT_LINE_WIDTH),
|
||||
_isSolid(DEFAULT_IS_SOLID),
|
||||
_rotation(),
|
||||
_isSolid(DEFAULT_IS_SOLID),
|
||||
_isDashedLine(DEFAULT_IS_DASHED_LINE),
|
||||
_ignoreRayIntersection(false)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue