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:
Michael Bayne
2005-04-01 17:03:23 +00:00
parent 302c6656e5
commit 916c50adaa
@@ -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