Cleanup: warning

This commit is contained in:
Campbell Barton 2016-07-23 03:59:18 +10:00
parent bd11d917c1
commit 6ef37faa58
1 changed files with 4 additions and 0 deletions

View File

@ -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.