added some logging to hunt down why q wasn't being populated
This commit is contained in:
parent
d0e8d11156
commit
bb174094ab
@ -27,9 +27,13 @@ class grid(object):
|
||||
|
||||
if verts != None:
|
||||
self.verts = np.array(verts)
|
||||
self.tree = KDTree(self.verts)
|
||||
if q:
|
||||
self.tree = KDTree(self.verts)
|
||||
|
||||
if q != None:
|
||||
log.debug("found q")
|
||||
self.q = np.array(q)
|
||||
else:
|
||||
log.debug("no q")
|
||||
|
||||
self.cells = {}
|
||||
self.cells_for_vert = defaultdict(list)
|
||||
|
Loading…
Reference in New Issue
Block a user