diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-22 20:59:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-23 11:52:18 +0300 |
commit | 6ef37faa58fb4d86ee5f0226a498f5f7a19baec3 (patch) | |
tree | 7f93a41e01ba26acfe0bf1083fa4ab8d3f01867a | |
parent | bd11d917c19aab91df9c2c7c721233fa73a1d1d7 (diff) |
Cleanup: warning
-rw-r--r-- | source/blender/blenkernel/intern/subsurf_ccg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index 02e529542be..10a0a39fcdd 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -797,6 +797,10 @@ static void ss_sync_from_derivedmesh(CCGSubSurf *ss, int use_flat_subdiv, bool use_subdiv_uvs) { +#ifndef WITH_OPENSUBDIV + UNUSED_VARS(use_subdiv_uvs); +#endif + #ifdef WITH_OPENSUBDIV /* Reset all related descriptors if actual mesh topology changed or if * other evaluation-related settings changed. |