- don't abort if remote model isn't installed; output missing model's
path, so people know what to install
This commit is contained in:
parent
1869b30b58
commit
6776103190
1 changed files with 6 additions and 3 deletions
|
@ -107,9 +107,12 @@ bool MPPlayer::Open(const string &sAddress, const int &iPort, const string &sCal
|
|||
|
||||
// If the player is remote then load the model
|
||||
if (!bLocalPlayer) {
|
||||
|
||||
LoadModel();
|
||||
|
||||
try {
|
||||
LoadModel();
|
||||
} catch (...) {
|
||||
SG_LOG( SG_NETWORK, SG_ALERT, "Failed to load remote model '" << sModelName << "'." );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
m_bInitialised = bSuccess;
|
||||
|
|
Loading…
Reference in a new issue