Postprocessing: Fix endless loop
- closes https://github.com/assimp/assimp/issues/5603kimkulling/fix_endless_loop_issue-5603
parent
83d7216726
commit
fbb232ab4d
|
@ -390,8 +390,8 @@ void TextureTransformStep::Execute( aiScene* pScene) {
|
|||
cnt = 0;
|
||||
for (it = trafo.begin();it != trafo.end(); ++it,++cnt) {
|
||||
if ((*it).lockedPos != AI_TT_UV_IDX_LOCK_NONE && (*it).lockedPos != cnt) {
|
||||
it2 = trafo.begin();unsigned int t = 0;
|
||||
while (t != (*it).lockedPos)
|
||||
it2 = trafo.begin();
|
||||
while ((*it2).lockedPos != (*it).lockedPos)
|
||||
++it2;
|
||||
|
||||
if ((*it2).lockedPos != AI_TT_UV_IDX_LOCK_NONE) {
|
||||
|
|
Loading…
Reference in New Issue