Changed exception to a warning when building skirt.
This commit is contained in:
parent
9d7b4e94b8
commit
8b990aa02a
1 changed files with 3 additions and 2 deletions
|
@ -915,7 +915,8 @@ void build_airport( string airport_raw, string_list& runways_raw,
|
||||||
strip_n.push_back( index );
|
strip_n.push_back( index );
|
||||||
strip_n.push_back( index );
|
strip_n.push_back( index );
|
||||||
} else {
|
} else {
|
||||||
throw sg_exception("Ooops missing node when building skirt");
|
SG_LOG(SG_GENERAL, SG_ALERT,
|
||||||
|
"*** Ooops missing node when building skirt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -934,7 +935,7 @@ void build_airport( string airport_raw, string_list& runways_raw,
|
||||||
strip_n.push_back( index );
|
strip_n.push_back( index );
|
||||||
strip_n.push_back( index );
|
strip_n.push_back( index );
|
||||||
} else {
|
} else {
|
||||||
throw("Ooops missing node when building skirt");
|
throw sg_exception("Ooops missing node when building skirt");
|
||||||
}
|
}
|
||||||
|
|
||||||
strips_v.push_back( strip_v );
|
strips_v.push_back( strip_v );
|
||||||
|
|
Loading…
Add table
Reference in a new issue