[Bf-blender-cvs] [2f8a5ed985f] blender2.8: Remove warnings after CDDM fix

Dalai Felinto noreply at git.blender.org
Thu May 11 16:15:36 CEST 2017


Commit: 2f8a5ed985f63c632665469ae0e924c7d94ccc8a
Author: Dalai Felinto
Date:   Thu May 11 16:15:26 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB2f8a5ed985f63c632665469ae0e924c7d94ccc8a

Remove warnings after CDDM fix

===================================================================

M	source/blender/modifiers/intern/MOD_subsurf.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index a23026c61da..e444fb85162 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -157,6 +157,10 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
 		result = cddm;
 	}
 
+#if defined(WITH_GL_PROFILE_CORE) && !defined(WITH_OPESUBDIV)
+	(void) do_cddm_convert;
+#endif
+
 	return result;
 }




More information about the Bf-blender-cvs mailing list