mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 03:44:34 +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
|
# Line between last polyline point and mouse
|
||||||
edges = [[0, 1]]
|
edges = [[0, 1]]
|
||||||
if snap_prop.snap_type != "Plane" and snap_prop.z != 0:
|
if polyline_points:
|
||||||
self.draw_batch("LINES", [polyline_points[-1]] + projection_point, decorator_color_unselected, edges)
|
if snap_prop.snap_type != "Plane" and snap_prop.z != 0:
|
||||||
else:
|
self.draw_batch("LINES", [polyline_points[-1]] + projection_point, decorator_color_unselected, edges)
|
||||||
self.draw_batch("LINES", [polyline_points[-1]] + mouse_point, decorator_color_unselected, edges)
|
else:
|
||||||
|
self.draw_batch("LINES", [polyline_points[-1]] + mouse_point, decorator_color_unselected, edges)
|
||||||
|
|
||||||
# Line for angle axis snap
|
# Line for angle axis snap
|
||||||
if snap_prop.snap_type == "Axis":
|
if snap_prop.snap_type == "Axis":
|
||||||
|
|||||||
Reference in New Issue
Block a user