More bug fix in cumulus trackAvoid.
This commit is contained in:
parent
1e2c88fad8
commit
3cddf2f3ae
|
@ -107,9 +107,10 @@ class HTree ( object ):
|
|||
gaugeConf.setStackPosition( contact, x, y )
|
||||
gaugeConf.createVertical ( contact, forkContact, x, 0 )
|
||||
trackAvoidBox = Box( x, forkContact.getY(), x, y )
|
||||
trackAvoidBox.inflate( 0, 0, 0, self.spares.conf.sliceHeight )
|
||||
gaugeConf.addTrackAvoid( trackAvoidBox )
|
||||
if gaugeConf.cfg.spares.useFeedTrackAvoid and forkContact.getY() > contact.getY():
|
||||
if gaugeConf.cfg.spares.useFeedTrackAvoid:
|
||||
if forkContact.getY() > contact.getY():
|
||||
trackAvoidBox.inflate( 0, 0, 0, self.spares.conf.sliceHeight )
|
||||
self.spares.trackAvoid( trackAvoidBox )
|
||||
if len(leaf.buffers) > 1:
|
||||
tl1Contact = gaugeConf.rpAccessByPlugName( leaf.buffers[1], bufferConf.input, ckNet, GaugeConf.DeepDepth|GaugeConf.HAccess )
|
||||
|
|
Loading…
Reference in New Issue