mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:17:02 +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) {
|
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
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue