Skip to content
Snippets Groups Projects
Commit 35c10dc1 authored by Chad Hanna's avatar Chad Hanna
Browse files

tree.py: fix typo in last commit

parent a7855574
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ class Node(object):
# take the bigger of self, sibling and parent
numtmps = max(max(numtmps, par_numtmps), sib_numtmps)
if not (self.parent.parent and (self.direction == self.parent.direction self.parent.parent.direction == sib_direction):
if not (self.parent.parent and (self.direction == self.parent.direction == self.parent.parent.direction == sib_direction)):
numtmps += 2
#if (self.cube.constraint_func(self.cube.vertices + [self.cube.center]) and (numtmps > split_num_templates or ((numtmps >= split_num_templates/2.0) and not volume_split_condition))):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment