diff options
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_boolean.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c index cc42c89a60e..fae8ac72108 100644 --- a/source/blender/modifiers/intern/MOD_boolean.c +++ b/source/blender/modifiers/intern/MOD_boolean.c @@ -77,9 +77,9 @@ #endif #ifdef WITH_GMP -const bool bypass_bmesh = true; +static const bool bypass_bmesh = true; #else -const bool bypass_bmesh = false; +static const bool bypass_bmesh = false; #endif static void initData(ModifierData *md) @@ -729,6 +729,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * return exact_boolean_mesh(bmd, ctx, mesh); } #else + UNUSED_VARS(bypass_bmesh); const bool use_exact = false; #endif |