1
0
mirror of synced 2025-02-17 11:18:33 +01:00

Always filter out unnecessary exported tags, even when rendering the default animation.

This commit is contained in:
Jennifer Taylor 2021-04-15 23:18:54 +00:00
parent 1683c8ecdd
commit 3f5760343a

View File

@ -251,7 +251,7 @@ class AFPRenderer(VerboseOutput):
# Now, render out the placed objects.
for obj in sorted(self.__placed_objects, key=lambda o: o.tag.depth):
if self.__visible_tag is not None and self.__visible_tag != obj.parent_sprite:
if self.__visible_tag != obj.parent_sprite:
continue
self.vprint(f" Rendering placed object ID {obj.tag.object_id} from sprite {obj.parent_sprite} onto Depth {obj.tag.depth}")