Merge pull request #1623 from Sanva/master

Fixed memory problem in `ArmoryExporter.execute` [fixes #1604]
This commit is contained in:
Lubos Lenco 2020-03-21 23:49:26 +01:00 committed by GitHub
commit 0e77094a71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1923,7 +1923,7 @@ class ArmoryExporter:
# scene_objects = []
# for lay in self.scene.view_layers:
# scene_objects += lay.objects
scene_objects = self.scene.collection.all_objects
scene_objects = self.scene.collection.all_objects.values()
for bobject in scene_objects:
# Map objects to game objects