OpenSubdiv: Initial OsdMesh construction missed clearing out-of-date coords flag

This commit is contained in:
Sergey Sharybin 2015-08-05 16:06:18 +02:00
parent 5fe5118845
commit 9a995c11d3
1 changed files with 1 additions and 1 deletions

View File

@ -262,9 +262,9 @@ bool ccgSubSurf_prepareGLMesh(CCGSubSurf *ss, bool use_osd_glsl)
}
ccgSubSurf__updateGLMeshCoords(ss);
openSubdiv_osdGLMeshRefine(ss->osd_mesh);
openSubdiv_osdGLMeshSynchronize(ss->osd_mesh);
ss->osd_coarse_coords_invalid = false;
glBindVertexArray(ss->osd_vao);
glBindBuffer(GL_ARRAY_BUFFER,