In Etesian::AddFeed, do nothing if no feed of a suitable width is found.
This commit is contained in:
parent
864b031b6a
commit
3e115eb056
|
@ -202,6 +202,8 @@ namespace {
|
||||||
int pitch = (int)((xmax-xtie) / getEtesian()->getVerticalPitch());
|
int pitch = (int)((xmax-xtie) / getEtesian()->getVerticalPitch());
|
||||||
for ( ; pitch > 0 ; --pitch ) {
|
for ( ; pitch > 0 ; --pitch ) {
|
||||||
feed = getEtesian()->getFeedCells().getFeed( pitch );
|
feed = getEtesian()->getFeedCells().getFeed( pitch );
|
||||||
|
if (feed == NULL) continue;
|
||||||
|
|
||||||
feedWidth = feed->getAbutmentBox().getWidth();
|
feedWidth = feed->getAbutmentBox().getWidth();
|
||||||
if (feed != NULL) break;
|
if (feed != NULL) break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue