From 68797982025cec83e9a0b58d7f2e6807486f30a6 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sun, 30 Aug 2020 22:47:05 -0500 Subject: Cleanup: Resolve unused variable warning in lite build --- source/blender/editors/mesh/editmesh_intersect.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to '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)"; -- cgit v1.2.3