Fix #3513. Minor issue where new hierarchical drawing list broke print all feature.

This commit is contained in:
Dion Moult
2023-07-28 14:55:22 +10:00
parent eda0b33b41
commit 3980666824
@@ -216,7 +216,7 @@ class CreateDrawing(bpy.types.Operator):
if self.print_all:
original_drawing_id = self.props.active_drawing_id
drawings_to_print = [d.ifc_definition_id for d in self.props.drawings if d.is_selected]
drawings_to_print = [d.ifc_definition_id for d in self.props.drawings if d.is_selected and d.is_drawing]
else:
drawings_to_print = [self.props.active_drawing_id]