mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Small fix
This commit is contained in:
@@ -496,6 +496,7 @@ class PolylineDecorator:
|
|||||||
coords = view3d_utils.location_3d_to_region_2d(region, rv3d, mouse_point)
|
coords = view3d_utils.location_3d_to_region_2d(region, rv3d, mouse_point)
|
||||||
padding = 6
|
padding = 6
|
||||||
verts = []
|
verts = []
|
||||||
|
edges = []
|
||||||
if snap_prop.snap_type in ["Edge", "Vertex"]:
|
if snap_prop.snap_type in ["Edge", "Vertex"]:
|
||||||
p1 = (coords[0] - padding, coords[1] + padding)
|
p1 = (coords[0] - padding, coords[1] + padding)
|
||||||
p2 = (coords[0] + padding, coords[1] + padding)
|
p2 = (coords[0] + padding, coords[1] + padding)
|
||||||
|
|||||||
Reference in New Issue
Block a user