Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-08-05 17:06:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-08-05 17:07:32 +0300
commit9a995c11d3fe6f3d2462b636dc14e5bed0804ac1 (patch)
treea6c57a716c8a9960c0e274ba0f98e27ca83db8bc /source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c
parent5fe5118845f787b2891d9da5379cfba219183370 (diff)
OpenSubdiv: Initial OsdMesh construction missed clearing out-of-date coords flag
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c')
-rw-r--r--source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c2
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,