Cleanup: simplify asserts in uv unwrapper
This commit is contained in:
parent
65944e7e84
commit
da82d46a5a
|
@ -3927,9 +3927,8 @@ void GEO_uv_parametrizer_face_add(ParamHandle *phandle,
|
|||
const bool *pin,
|
||||
const bool *select)
|
||||
{
|
||||
param_assert(phash_lookup(phandle->hash_faces, key) == nullptr);
|
||||
BLI_assert(nverts >= 3);
|
||||
param_assert(phandle->state == PHANDLE_STATE_ALLOCATED);
|
||||
param_assert(ELEM(nverts, 3, 4));
|
||||
|
||||
if (nverts > 4) {
|
||||
/* ngon */
|
||||
|
|
Loading…
Reference in New Issue