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>2015-08-25 14:24:02 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-08-25 14:24:02 +0300
commit6f7eb623d3beaf7e49b5bb0d7686c2b2c714d867 (patch)
tree12d74dde157a91dd5e06b2151e539c22c25b131c /source/blender/modifiers
parent3db3145c33ea414cac576ae624c3497d32b7e748 (diff)
Avoid include header from previous commit when building without OpenSubdiv
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_subsurf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index 88d461bb84d..ab52d798cf8 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -37,7 +37,10 @@
#include "DNA_scene_types.h"
#include "DNA_object_types.h"
-#include "DNA_userdef_types.h"
+
+#ifdef WITH_OPENSUBDIV
+# include "DNA_userdef_types.h"
+#endif
#include "BLI_utildefines.h"