Utility/OBJParser: Prepare for saving
Former-commit-id: 245d757401397e329b906a4f48c913b434830475 [formerly da4af71db1570c669e82ab92c0a8a7a6301a5809] Former-commit-id: 5b14b24fe157a1411a9f76d6374c18be82e254de
This commit is contained in:
parent
fa1dae35f3
commit
1d193ec74a
|
|
@ -125,9 +125,9 @@ namespace Nz
|
||||||
for (unsigned int i = 0; i < vertexCount; ++i)
|
for (unsigned int i = 0; i < vertexCount; ++i)
|
||||||
{
|
{
|
||||||
int offset;
|
int offset;
|
||||||
int n = 0;
|
std::size_t n = 0;
|
||||||
int p = 0;
|
std::size_t p = 0;
|
||||||
int t = 0;
|
std::size_t t = 0;
|
||||||
|
|
||||||
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
|
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue