mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
eafa158ca0
is_drawing_active() required an open VIEW_3D area purely as a poll() gate for bim.create_drawing, even though SVG generation is ifcopenshell.geom-based with no viewport dependency; skip that check when bpy.app.background is true, since a viewport is neither obtainable nor meaningful there. Interactive behaviour is unchanged. Generated with the assistance of an AI coding tool.