mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
Fix errors using shared path for drawing underlay #5803
This commit is contained in:
@@ -385,7 +385,7 @@ class CreateDrawing(bpy.types.Operator):
|
|||||||
for obj in bpy.context.view_layer.objects:
|
for obj in bpy.context.view_layer.objects:
|
||||||
obj.hide_render = obj.name not in visible_object_names
|
obj.hide_render = obj.name not in visible_object_names
|
||||||
|
|
||||||
context.scene.render.filepath = Path(svg_path).with_suffix(".png").as_posix()
|
context.scene.render.filepath = str(Path(svg_path).with_suffix(".png"))
|
||||||
drawing_style = context.scene.DocProperties.drawing_styles[self.cprops.active_drawing_style_index]
|
drawing_style = context.scene.DocProperties.drawing_styles[self.cprops.active_drawing_style_index]
|
||||||
|
|
||||||
if drawing_style.render_type == "DEFAULT":
|
if drawing_style.render_type == "DEFAULT":
|
||||||
|
|||||||
Reference in New Issue
Block a user