Removed a questionable assert in the splittoken of the OBJ importer

This commit is contained in:
Paolo Cignoni 2013-11-11 13:21:05 +00:00
parent 3657b94ab7
commit 2b84f16b45
1 changed files with 1 additions and 1 deletions

View File

@ -735,7 +735,7 @@ namespace vcg {
const bool hasPosition = true;
const bool hasTexcoord = (firstSep != std::string::npos) && ((firstSep + 1) < secondSep);
const bool hasNormal = (secondSep != std::string::npos) || (mask & Mask::IOM_WEDGNORMAL) || (mask & Mask::IOM_VERTNORMAL);
assert(mask & Mask::IOM_VERTNORMAL);
if (hasPosition) vId = atoi(token.substr(0, firstSep).c_str()) - 1;
if (hasTexcoord) tId = atoi(token.substr(firstSep + 1, secondSep - firstSep - 1).c_str()) - 1;
if (hasNormal)