diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-05 17:06:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-05 17:07:32 +0300 |
commit | 9a995c11d3fe6f3d2462b636dc14e5bed0804ac1 (patch) | |
tree | a6c57a716c8a9960c0e274ba0f98e27ca83db8bc /source/blender | |
parent | 5fe5118845f787b2891d9da5379cfba219183370 (diff) |
OpenSubdiv: Initial OsdMesh construction missed clearing out-of-date coords flag
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c b/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c index 8be2911b876..eb7c3bf6ffd 100644 --- a/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c +++ b/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c @@ -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, |