From bc5e4d79351dab6870b424fafb40e13890413e35 Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Wed, 17 Dec 2025 21:30:09 -0600 Subject: [PATCH] removed debugging print statements from previous commit. --- src/bonsai/bonsai/bim/module/drawing/operator.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/bonsai/bonsai/bim/module/drawing/operator.py b/src/bonsai/bonsai/bim/module/drawing/operator.py index eaf7d2d75a..0c5c99e623 100644 --- a/src/bonsai/bonsai/bim/module/drawing/operator.py +++ b/src/bonsai/bonsai/bim/module/drawing/operator.py @@ -448,24 +448,11 @@ class CreateDrawing(bpy.types.Operator): if not ifcopenshell.util.element.get_pset(self.drawing, "EPset_Drawing", "HasUnderlay"): return svg_path = self.get_svg_path(cache_type="underlay") - print(f"\n--- GENERATE UNDERLAY ---") - print(f"Drawing: {self.drawing.Name}") - print(f"SVG path: {svg_path}") - print(f"Cache exists: {os.path.isfile(svg_path)}") - print(f"Use cache: {self.props.should_use_underlay_cache}") - print(f"Render filepath will be: {context.scene.render.filepath}") - if os.path.isfile(svg_path) and self.props.should_use_underlay_cache: - print(f"RETURNING CACHED UNDERLAY") return svg_path - print(f"GENERATING NEW UNDERLAY") - - render_png_path = str(Path(svg_path).with_suffix(".png")) - context.scene.render.filepath = render_png_path - print(f"SET Render filepath to: {context.scene.render.filepath}") - assert context.scene and context.view_layer and context.screen + context.scene.render.filepath = str(Path(svg_path).with_suffix(".png")) assert (drawing_style := self.cprops.get_active_drawing_style()) tool.Blender.sync_render_visibility()