Report our resolution on the AWT thread rather than the scene block

resolution thread.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2604 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-05-22 22:18:27 +00:00
parent 9ab9a7f84b
commit 328f4786ba
@@ -1,5 +1,5 @@
//
// $Id: SceneBlockResolver.java,v 1.6 2003/05/21 17:10:41 mdb Exp $
// $Id: SceneBlockResolver.java,v 1.7 2003/05/22 22:18:27 mdb Exp $
package com.threerings.miso.client;
@@ -86,16 +86,16 @@ public class SceneBlockResolver extends LoopingThread
", elapsed=" + elapsed + "ms].");
}
// report statistics
if (_queue.size() == 0) {
Log.info("Resolution histogram " + _histo.summarize() + ".");
}
// queue it up on the AWT thread to complete its resolution
EventQueue.invokeLater(new Runnable() {
public void run () {
// let the block's panel know that it is resolved
block.wasResolved();
// report statistics
if (_queue.size() == 0) {
Log.info("Resolution histogram " +
_histo.summarize() + ".");
}
}
});