diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-25 14:24:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-25 14:24:02 +0300 |
commit | 6f7eb623d3beaf7e49b5bb0d7686c2b2c714d867 (patch) | |
tree | 12d74dde157a91dd5e06b2151e539c22c25b131c /source/blender/modifiers/intern/MOD_subsurf.c | |
parent | 3db3145c33ea414cac576ae624c3497d32b7e748 (diff) |
Avoid include header from previous commit when building without OpenSubdiv
Diffstat (limited to 'source/blender/modifiers/intern/MOD_subsurf.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_subsurf.c | 5 |
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" |