]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix exporting of materials without any textures
authorMikko Rasa <tdb@tdb.fi>
Sun, 28 Mar 2021 09:47:29 +0000 (12:47 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 28 Mar 2021 09:47:29 +0000 (12:47 +0300)
If a generator expression produces no items, trying to access __next__()
produces a StopIteration exception.  It's better to create a list so we
can check if it's empty.


No differences found