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:
authorCampbell Barton <ideasman42@gmail.com>2015-07-24 10:11:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-24 10:11:50 +0300
commitd6ebf72f9f89078dd2d7b35bcbf0b31c1e19ab87 (patch)
tree2fa0299c08c0d125d831376e1d2068e4cc05b82c
parentdc6153453aa3cbd7b68c89f28e56d7717ab9003a (diff)
Fix for building with OpenSubdiv
-rw-r--r--source/blender/blenkernel/intern/subsurf_ccg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index 566924c934b..0fb5584d49d 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -1778,8 +1778,8 @@ static void ccgDM_drawEdges(DerivedMesh *dm, bool drawLooseEdges, bool drawAllEd
#ifdef WITH_OPENSUBDIV
if (ccgdm->useGpuBackend) {
/* TODO(sergey): We currently only support all edges drawing. */
- if (ccgSubSurf_prepareGLMesh(ss, true)) {
- ccgSubSurf_drawGLMesh(ss, false, -1, -1);
+ if (ccgSubSurf_prepareGLMesh(ccgdm->ss, true)) {
+ ccgSubSurf_drawGLMesh(ccgdm->ss, false, -1, -1);
}
return;
}