mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Fix Zach's crash
This commit is contained in:
parent
31c19154bc
commit
83633b734f
1 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,8 @@ class DistributedSuit(DistributedSuitBase.DistributedSuitBase, DelayDeletable):
|
|||
def setPathEndpoints(self, start, end, minPathLen, maxPathLen):
|
||||
if self.pathEndpointStart == start and self.pathEndpointEnd == end and self.minPathLen == minPathLen and self.maxPathLen == maxPathLen and self.path != None:
|
||||
return
|
||||
if self.pathEndpointStart not in self.sp.pointIndexes or self.pathEndpointEnd not in self.sp.pointIndexes:
|
||||
return
|
||||
self.pathEndpointStart = start
|
||||
self.pathEndpointEnd = end
|
||||
self.minPathLen = minPathLen
|
||||
|
|
Loading…
Reference in a new issue