Don't allow scene resolution to continue if the updates couldn't load.
They *are* just updates, but if it's ok for them to not load then a game-specific scene repository needs to make that decision and just return a blank update list rather than throwing an exception. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@68 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -211,10 +211,10 @@ public class SceneRegistry
|
||||
// this is run on the dobjmgr thread
|
||||
public void handleResult ()
|
||||
{
|
||||
if (_model != null) {
|
||||
processSuccessfulResolution(_model, _updates);
|
||||
} else if (_cause != null) {
|
||||
if (_cause != null) {
|
||||
processFailedResolution(fsceneId, _cause);
|
||||
} else if (_model != null) {
|
||||
processSuccessfulResolution(_model, _updates);
|
||||
} else {
|
||||
Log.warning("Scene loading unit finished with " +
|
||||
"neither a scene nor a reason for " +
|
||||
|
||||
Reference in New Issue
Block a user