Create the colorizer before we set the scene model as that will fire up
the scene block resolver on a new thread which could, in theory, then request said colorizer before we got around to setting it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3455 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -127,10 +127,10 @@ public class StageScenePanel extends MisoScenePanel
|
||||
{
|
||||
_scene = scene;
|
||||
if (_scene != null) {
|
||||
_rizer = new SceneColorizer(_ctx.getColorPository(), scene);
|
||||
recomputePortals();
|
||||
setSceneModel(StageMisoSceneModel.getSceneModel(
|
||||
scene.getSceneModel()));
|
||||
_rizer = new SceneColorizer(_ctx.getColorPository(), scene);
|
||||
} else {
|
||||
Log.warning("Zoiks! We can't display a null scene!");
|
||||
// TODO: display something to the user letting them know that
|
||||
|
||||
Reference in New Issue
Block a user