In Katana, do not try to repair tracks that are of default type.

This commit is contained in:
Jean-Paul Chaput 2023-07-19 21:57:16 +02:00
parent 01b0489f58
commit 1e2c88fad8
1 changed files with 2 additions and 0 deletions

View File

@ -1036,6 +1036,8 @@ namespace Katana {
{
//if ((getIndex() == 3473) and isHorizontal()) DebugSession::open( 150, 160 );
cdebug_log(159,0) << "Track::repair() " << this << endl;
if (getLayerGauge()->getType() != Constant::LayerGaugeType::Default) return 0;
if (_segments.empty()) {
fillHole( getMin(), getMax() );