From 1f196ea2a30010e75ca36b8b0765fe917b652486 Mon Sep 17 00:00:00 2001 From: Rob Date: Fri, 13 Dec 2024 10:45:05 -0500 Subject: [PATCH] References galore... --- scripts/addons/cam/voronoi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/addons/cam/voronoi.py b/scripts/addons/cam/voronoi.py index c4f383c0..0b15f635 100644 --- a/scripts/addons/cam/voronoi.py +++ b/scripts/addons/cam/voronoi.py @@ -611,10 +611,10 @@ def voronoi(siteList, context): context.out_vertex(v) # set the endpoint of the left and right Halfedge to be this vector - if lbnd.edge.setEndpoint(lbnd.pm, v): + if lbnd.edge.set_endpoint(lbnd.pm, v): context.out_edge(lbnd.edge) - if rbnd.edge.setEndpoint(rbnd.pm, v): + if rbnd.edge.set_endpoint(rbnd.pm, v): context.out_edge(rbnd.edge) # delete the lowest HE, remove all vertex events to do with the @@ -643,7 +643,7 @@ def voronoi(siteList, context): # If the site to the left of this bisector is higher than the right # Site, then this endpoint is put in position 0; otherwise in pos 1 edgeList.insert(llbnd, bisector) - if edge.setEndpoint(Edge.RE - pm, v): + if edge.set_endpoint(Edge.RE - pm, v): context.out_edge(edge) # if left HE and the new bisector don't intersect, then delete