MS STL iteration fix

This commit is contained in:
Jack Andersen 2016-01-19 12:13:36 -10:00
parent b53a1d30b2
commit 6e25e08273
2 changed files with 5 additions and 1 deletions

View File

@ -396,6 +396,10 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
} }
flip ^= 1; flip ^= 1;
/* Break if done */
if (iit == prim.indices.cend())
break;
bool peek = (v >= prim.indexCount - 3); bool peek = (v >= prim.indexCount - 3);
/* Advance one prim vert */ /* Advance one prim vert */

2
hecl

@ -1 +1 @@
Subproject commit 30dd74476e59bcba3717dddb9ead6a26523d3a39 Subproject commit 966ec1ab3323d6f4e4352eb459ba60523f8d8440