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

master
Andrey Kleshchev 2021-12-02 02:28:29 +02:00
parent 7929230c04
commit 1cd1d3fbe2
1 changed files with 5 additions and 0 deletions

View File

@ -3204,6 +3204,7 @@ BOOL LLModelPreview::render()
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glLineWidth(1.f);
}
buffer->flush();
}
gGL.popMatrix();
}
@ -3316,6 +3317,8 @@ BOOL LLModelPreview::render()
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glLineWidth(1.f);
buffer->flush();
}
}
}
@ -3386,6 +3389,8 @@ BOOL LLModelPreview::render()
buffer->draw(LLRender::POINTS, 3, i);
}
}
buffer->flush();
}
}
}