...
 
Commits (1)
......@@ -1866,13 +1866,13 @@ GLuint VolumeMeshBufferManager<VolumeMesh>::getBuffer()
if (buffer)
{
if (positionsNeedRebuild())
//if (positionsNeedRebuild())
buildVertexBuffer(buffer);
if (normalsNeedRebuild())
//if (normalsNeedRebuild())
buildNormalBuffer(buffer);
if (colorsNeedRebuild())
//if (colorsNeedRebuild())
buildColorBuffer(buffer);
if (texCoordsNeedRebuild())
//if (texCoordsNeedRebuild())
buildTexCoordBuffer(buffer);
......@@ -1942,9 +1942,9 @@ GLuint VolumeMeshBufferManager<VolumeMesh>::getPickBuffer(ACG::GLState &_state,
if (buffer)
{
if (positionsNeedRebuild())
//if (positionsNeedRebuild())
buildVertexBuffer(buffer);
if (colorsNeedRebuild())
//if (colorsNeedRebuild())
buildPickColorBuffer(_state, _offset, buffer);
ACG::GLState::unmapBuffer(GL_ARRAY_BUFFER);
......