mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fix #5275. Fix bug where orthographic sections would appear over freestyle linework in perspective views.
This commit is contained in:
@@ -692,8 +692,9 @@ class CreateDrawing(bpy.types.Operator):
|
||||
path.attrib["d"] = new_d
|
||||
pass
|
||||
|
||||
self.generate_bisect_linework(context, root)
|
||||
self.merge_linework_and_add_metadata(root)
|
||||
if tool.Drawing.is_camera_orthographic():
|
||||
self.generate_bisect_linework(context, root)
|
||||
self.merge_linework_and_add_metadata(root)
|
||||
|
||||
with open(svg_path, "wb") as svg:
|
||||
svg.write(etree.tostring(root))
|
||||
|
||||
Reference in New Issue
Block a user