From 328f4786baea5fa91bb5f1783156212e9d91a314 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 22 May 2003 22:18:27 +0000 Subject: [PATCH] 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 --- .../threerings/miso/client/SceneBlockResolver.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/java/com/threerings/miso/client/SceneBlockResolver.java b/src/java/com/threerings/miso/client/SceneBlockResolver.java index 54fd52f19..bb2a02976 100644 --- a/src/java/com/threerings/miso/client/SceneBlockResolver.java +++ b/src/java/com/threerings/miso/client/SceneBlockResolver.java @@ -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() + "."); + } } });