diff options
-rw-r--r-- | chart2/source/view/main/GL3DRenderer.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index ab86007f1c04..89792a2b6809 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -63,7 +63,6 @@ GLfloat texCoords[] = { OpenGL3DRenderer::OpenGL3DRenderer(): m_TranslationMatrix(glm::translate(m_Model, glm::vec3(0.0f, 0.0f, 0.0f))) - , m_bCameraUpdated(false) , m_TextProID(0) , m_TextMatrixID(0) , m_TextVertexID(0) @@ -792,10 +791,6 @@ void OpenGL3DRenderer::RenderPolygon3D(Polygon3DInfo &polygon) void OpenGL3DRenderer::RenderPolygon3DObject() { - if (!m_bCameraUpdated) - { - return; - } glDepthMask(GL_FALSE); size_t polygonNum = m_Polygon3DInfoList.size(); for (size_t i = 0; i < polygonNum; i++) @@ -1424,7 +1419,6 @@ void OpenGL3DRenderer::CreateSceneBoxView() m_CameraInfo.cameraUp // Head is up (set to 0,-1,0 to look upside-down) ); m_3DViewBack = m_3DView; - m_bCameraUpdated = true; } void OpenGL3DRenderer::ProcessUnrenderedShape() |