[Bf-blender-cvs] [11ad18c] master: OpenSubdiv: Disable topology check happening from OpenSubdiv side
Sergey Sharybin
noreply at git.blender.org
Mon Aug 3 14:57:50 CEST 2015
Commit: 11ad18c82ab08b0adadc7683c9431b70da8426cc
Author: Sergey Sharybin
Date: Mon Aug 3 13:38:07 2015 +0200
Branches: master
https://developer.blender.org/rB11ad18c82ab08b0adadc7683c9431b70da8426cc
OpenSubdiv: Disable topology check happening from OpenSubdiv side
This check doesn't handle multiple non-manifolds cases which is rather
really annoying currently.
===================================================================
M intern/opensubdiv/opensubdiv_intern.h
===================================================================
diff --git a/intern/opensubdiv/opensubdiv_intern.h b/intern/opensubdiv/opensubdiv_intern.h
index 3e3925e..ccb32f9 100644
--- a/intern/opensubdiv/opensubdiv_intern.h
+++ b/intern/opensubdiv/opensubdiv_intern.h
@@ -30,7 +30,10 @@
#ifdef NDEBUG
# undef OPENSUBDIV_VALIDATE_TOPOLOGY
#else
-# define OPENSUBDIV_VALIDATE_TOPOLOGY
+/* TODO(sergey): Always disabled for now, the check doesn't handle
+ * multiple non-manifolds from the OpenSubdiv side currently.
+ */
+# undef OPENSUBDIV_VALIDATE_TOPOLOGY
#endif
/* Currently OpenSubdiv expects topology to be oriented,
More information about the Bf-blender-cvs
mailing list