Commit: 68797982025cec83e9a0b58d7f2e6807486f30a6
Author: Hans Goudey
Date:   Sun Aug 30 22:47:05 2020 -0500
Branches: master
https://developer.blender.org/rB68797982025cec83e9a0b58d7f2e6807486f30a6

Cleanup: Resolve unused variable warning in lite build

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

M       source/blender/editors/mesh/editmesh_intersect.c

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

diff --git a/source/blender/editors/mesh/editmesh_intersect.c 
b/source/blender/editors/mesh/editmesh_intersect.c
index d56daaf8094..ae882ee59bb 100644
--- a/source/blender/editors/mesh/editmesh_intersect.c
+++ b/source/blender/editors/mesh/editmesh_intersect.c
@@ -295,11 +295,13 @@ void MESH_OT_intersect(struct wmOperatorType *ot)
       {0, NULL, 0, NULL, NULL},
   };
 
+#ifdef WITH_GMP
   static const EnumPropertyItem isect_intersect_solver_items[] = {
       {ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster Solver, some 
limitations"},
       {ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact Solver, slower, handles 
more cases"},
       {0, NULL, 0, NULL, NULL},
   };
+#endif
 
   /* identifiers */
   ot->name = "Intersect (Knife)";
@@ -445,11 +447,13 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot)
       {BMESH_ISECT_BOOLEAN_DIFFERENCE, "DIFFERENCE", 0, "Difference", ""},
       {0, NULL, 0, NULL, NULL},
   };
+#ifdef WITH_GMP
   static const EnumPropertyItem isect_boolean_solver_items[] = {
       {ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster Solver, some 
limitations"},
       {ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact Solver, slower, handles 
more cases"},
       {0, NULL, 0, NULL, NULL},
   };
+#endif
 
   /* identifiers */
   ot->name = "Intersect (Boolean)";

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to