mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
small fix related to polyline decorator
This commit is contained in:
committed by
Bruno Perdigão
parent
f637ef8016
commit
4409a35441
@@ -498,10 +498,11 @@ class WallPolylineDecorator:
|
||||
|
||||
# Line between last polyline point and mouse
|
||||
edges = [[0, 1]]
|
||||
if snap_prop.snap_type != "Plane" and snap_prop.z != 0:
|
||||
self.draw_batch("LINES", [polyline_points[-1]] + projection_point, decorator_color_unselected, edges)
|
||||
else:
|
||||
self.draw_batch("LINES", [polyline_points[-1]] + mouse_point, decorator_color_unselected, edges)
|
||||
if polyline_points:
|
||||
if snap_prop.snap_type != "Plane" and snap_prop.z != 0:
|
||||
self.draw_batch("LINES", [polyline_points[-1]] + projection_point, decorator_color_unselected, edges)
|
||||
else:
|
||||
self.draw_batch("LINES", [polyline_points[-1]] + mouse_point, decorator_color_unselected, edges)
|
||||
|
||||
# Line for angle axis snap
|
||||
if snap_prop.snap_type == "Axis":
|
||||
|
||||
Reference in New Issue
Block a user