Subdiv: Return enumerator of proper type

Was harmless, that code is never to be reached.
This commit is contained in:
Sergey Sharybin 2018-09-28 10:13:18 +02:00
parent 763c78fccb
commit c72770d1cb
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ BKE_subdiv_fvar_interpolation_from_uv_smooth(int uv_smooth)
return SUBDIV_FVAR_LINEAR_INTERPOLATION_NONE;
}
BLI_assert(!"Unknown uv smooth flag");
return SUBSURF_UV_SMOOTH_NONE;
return SUBDIV_FVAR_LINEAR_INTERPOLATION_ALL;
}
Subdiv *BKE_subdiv_new_from_converter(const SubdivSettings *settings,