Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-26 12:54:19 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-26 12:54:19 +0300
commit6d3e42ccbdaaac61f28f032e459d68b3e8d9fe33 (patch)
tree086b8a75ff1d3927dda5497eb6fa9752a00f8323 /source/blender/modifiers/intern/MOD_multires.c
parentde811518c09ea28a1f4d94ed09fb39917d8847c7 (diff)
Cleanup: Silence strict compiler warning
Was happening when using OSD for modifiers.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_multires.c')
-rw-r--r--source/blender/modifiers/intern/MOD_multires.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_multires.c b/source/blender/modifiers/intern/MOD_multires.c
index 826c9cbe81f..c3cfa1d8cd3 100644
--- a/source/blender/modifiers/intern/MOD_multires.c
+++ b/source/blender/modifiers/intern/MOD_multires.c
@@ -67,6 +67,8 @@ static void initData(ModifierData *md)
mmd->quality = 3;
}
+#ifndef WITH_OPENSUBDIV_MODIFIER
+
static DerivedMesh *applyModifier_DM(
ModifierData *md, const ModifierEvalContext *ctx,
DerivedMesh *dm)
@@ -146,6 +148,8 @@ static DerivedMesh *applyModifier_DM(
applyModifier_DM_wrapper(applyModifier, applyModifier_DM)
+#endif
+
#ifdef WITH_OPENSUBDIV_MODIFIER
/* Subdivide into fully qualified mesh. */