Skip to content
Snippets Groups Projects
Commit 1cd1d3fb authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-16420 Upload's physics LODs are broken in preview #2

parent 7929230c
No related branches found
No related tags found
1 merge request!83Merge Linden 6.6.7
...@@ -3204,6 +3204,7 @@ BOOL LLModelPreview::render() ...@@ -3204,6 +3204,7 @@ BOOL LLModelPreview::render()
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glLineWidth(1.f); glLineWidth(1.f);
} }
buffer->flush();
} }
gGL.popMatrix(); gGL.popMatrix();
} }
...@@ -3316,6 +3317,8 @@ BOOL LLModelPreview::render() ...@@ -3316,6 +3317,8 @@ BOOL LLModelPreview::render()
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glLineWidth(1.f); glLineWidth(1.f);
buffer->flush();
} }
} }
} }
...@@ -3386,6 +3389,8 @@ BOOL LLModelPreview::render() ...@@ -3386,6 +3389,8 @@ BOOL LLModelPreview::render()
buffer->draw(LLRender::POINTS, 3, i); buffer->draw(LLRender::POINTS, 3, i);
} }
} }
buffer->flush();
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment