mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 23:29:59 +00:00
mix_snap_and_axis - fix subtle bug with creating zero Vector
This commit is contained in:
@@ -269,7 +269,7 @@ class Snap(bonsai.core.tool.Snap):
|
|||||||
last_point_data = polyline_points[-1]
|
last_point_data = polyline_points[-1]
|
||||||
last_point = Vector((last_point_data.x, last_point_data.y, last_point_data.z))
|
last_point = Vector((last_point_data.x, last_point_data.y, last_point_data.z))
|
||||||
else:
|
else:
|
||||||
last_point = Vector(0, 0, 0)
|
last_point = Vector()
|
||||||
|
|
||||||
valid_intersections = []
|
valid_intersections = []
|
||||||
for i in intersections:
|
for i in intersections:
|
||||||
|
|||||||
Reference in New Issue
Block a user