[Bf-blender-cvs] [a4f7c90] opensubdiv-modifier: OpenSubdiv: Correction for the strict compiler flags
Sergey Sharybin
noreply at git.blender.org
Fri Jul 11 15:54:39 CEST 2014
Commit: a4f7c90bd64eabdb52c1d10809a9ee08eaaeb9b1
Author: Sergey Sharybin
Date: Fri Jul 11 19:54:19 2014 +0600
https://developer.blender.org/rBa4f7c90bd64eabdb52c1d10809a9ee08eaaeb9b1
OpenSubdiv: Correction for the strict compiler flags
===================================================================
M intern/opensubdiv/opensubdiv_capi.cc
===================================================================
diff --git a/intern/opensubdiv/opensubdiv_capi.cc b/intern/opensubdiv/opensubdiv_capi.cc
index 86c0bad..610ef5b 100644
--- a/intern/opensubdiv/opensubdiv_capi.cc
+++ b/intern/opensubdiv/opensubdiv_capi.cc
@@ -264,6 +264,7 @@ static OpenSubdiv::OsdUtilMesh<OsdVertex>::Scheme get_osd_scheme(int scheme)
default:
assert(!"Wrong subdivision scheme");
}
+ return OpenSubdiv::OsdUtilMesh<OsdVertex>::SCHEME_BILINEAR;
}
/* TODO(sergey): Currently we use single coarse face per partition,
More information about the Bf-blender-cvs
mailing list