OpenSubdiv: Remove workaround for simple subdivision mode
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 3 Aug 2015 13:30:25 +0000 (15:30 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 3 Aug 2015 13:30:25 +0000 (15:30 +0200)
This case is now supposed to be supported by OpenSubdiv.

source/blender/blenkernel/intern/CCGSubSurf.c

index 9ac6166606e0180d31e40cb51cc2fa52f49a4aff..b78c3c77aa4ada39f068411f0e6cd7229814e689 100644 (file)
@@ -853,10 +853,7 @@ CCGError ccgSubSurf_syncFace(CCGSubSurf *ss, CCGFaceHDL fHDL, int numVerts, CCGV
 static void ccgSubSurf__sync(CCGSubSurf *ss)
 {
 #ifdef WITH_OPENSUBDIV
-       /* TODO(sergey): This is because OSD evaluator does not support
-        * bilinear subdivision scheme at this moment.
-        */
-       if (ss->meshIFC.simpleSubdiv == false || ss->skip_grids == true) {
+       if (true) {
                ccgSubSurf__sync_opensubdiv(ss);
        }
        else