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-03 14:38:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-08-03 15:27:31 +0300
commit11ad18c82ab08b0adadc7683c9431b70da8426cc (patch)
tree0324ef02ab8e6fdbc6d5d71e73344b15adf973e1 /intern/opensubdiv
parentdd1e7f16ca2fd74c93937fac9009f52db2205f19 (diff)
OpenSubdiv: Disable topology check happening from OpenSubdiv side
This check doesn't handle multiple non-manifolds cases which is rather really annoying currently.
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/opensubdiv_intern.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/opensubdiv/opensubdiv_intern.h b/intern/opensubdiv/opensubdiv_intern.h
index 3e3925e74c4..ccb32f9d0ac 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,