Let's refresh the scene prior to the delay so that by the time we add the view to the display list, we're really ready.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1004 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -287,8 +287,8 @@ public class MisoScenePanel extends Sprite
|
|||||||
{
|
{
|
||||||
_model = model;
|
_model = model;
|
||||||
_ctx.getTileManager().ensureLoaded(_model.getAllTilesets(), function() :void {
|
_ctx.getTileManager().ensureLoaded(_model.getAllTilesets(), function() :void {
|
||||||
|
refreshScene();
|
||||||
DelayUtil.delayFrame(function() :void {
|
DelayUtil.delayFrame(function() :void {
|
||||||
refreshScene();
|
|
||||||
removeChild(_loading);
|
removeChild(_loading);
|
||||||
addChild(_isoView);
|
addChild(_isoView);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user