mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +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
|
path.attrib["d"] = new_d
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.generate_bisect_linework(context, root)
|
if tool.Drawing.is_camera_orthographic():
|
||||||
self.merge_linework_and_add_metadata(root)
|
self.generate_bisect_linework(context, root)
|
||||||
|
self.merge_linework_and_add_metadata(root)
|
||||||
|
|
||||||
with open(svg_path, "wb") as svg:
|
with open(svg_path, "wb") as svg:
|
||||||
svg.write(etree.tostring(root))
|
svg.write(etree.tostring(root))
|
||||||
|
|||||||
Reference in New Issue
Block a user