Compare commits

...

1 Commits

Author SHA1 Message Date
Kim Kulling fbb232ab4d
Postprocessing: Fix endless loop
- closes https://github.com/assimp/assimp/issues/5603
2024-05-31 08:53:14 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -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) {