From 11ad18c82ab08b0adadc7683c9431b70da8426cc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 3 Aug 2015 13:38:07 +0200 Subject: [PATCH] OpenSubdiv: Disable topology check happening from OpenSubdiv side This check doesn't handle multiple non-manifolds cases which is rather really annoying currently. --- intern/opensubdiv/opensubdiv_intern.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,