[Bf-blender-cvs] [0d3501725c9] sculpt-mode-features: Fix build with QEX disabled

Pablo Dobarro noreply at git.blender.org
Tue Apr 16 20:35:52 CEST 2019


Commit: 0d3501725c9790a54b02337ca4033428fcc3c390
Author: Pablo Dobarro
Date:   Tue Apr 16 20:35:40 2019 +0200
Branches: sculpt-mode-features
https://developer.blender.org/rB0d3501725c9790a54b02337ca4033428fcc3c390

Fix build with QEX disabled

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

M	source/blender/blenkernel/intern/remesh_quad.c

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

diff --git a/source/blender/blenkernel/intern/remesh_quad.c b/source/blender/blenkernel/intern/remesh_quad.c
index 344588066df..bff76f37306 100644
--- a/source/blender/blenkernel/intern/remesh_quad.c
+++ b/source/blender/blenkernel/intern/remesh_quad.c
@@ -45,8 +45,10 @@
 #include "BKE_bvhutils.h"
 #include "BKE_remesh.h"
 
+#ifdef WITH_QEX
 #include "igl_capi.h"
 #include "qex_capi.h"
+#endif
 
 Mesh* BKE_remesh_quad(Mesh* mesh, float gradient_size, float stiffness, int iter, bool direct_round) {



More information about the Bf-blender-cvs mailing list