Revision: 4900
Author:
abhishek...@wishtreetech.com
Date: Mon Nov 24 11:51:04 2014 UTC
Log: Client startup time improvement, capability-bridge moved to
modules/tools/
https://code.google.com/p/openwonderland/source/detail?r=4900
Modified:
/trunk/modules/tools/user-list/src/classes/org/jdesktop/wonderland/modules/userlist/client/UserListClientPlugin.java
=======================================
---
/trunk/modules/tools/user-list/src/classes/org/jdesktop/wonderland/modules/userlist/client/UserListClientPlugin.java
Fri Nov 21 10:39:57 2014 UTC
+++
/trunk/modules/tools/user-list/src/classes/org/jdesktop/wonderland/modules/userlist/client/UserListClientPlugin.java
Mon Nov 24 11:51:04 2014 UTC
@@ -105,17 +105,23 @@
}).start();
}
- public void sessionCreated(WonderlandSession session) {
-// LocalAvatar avatar = ((CellClientSession)
session).getLocalAvatar();
-//
-// avatar.addViewCellConfiguredListener(this);
+ public void sessionCreated(final WonderlandSession session) {
+ final UserListClientPlugin object = this;
+ new Thread(new Runnable() {
+
+ public void run() {
+ LocalAvatar avatar = ((CellClientSession)
session).getLocalAvatar();
+ avatar.addViewCellConfiguredListener(object);
+ }
+ }).start();
+
// if (avatar!= null) {
// viewConfigured(avatar);
// }
}
public void primarySession(WonderlandSession session) {
- LocalAvatar avatar = ((CellClientSession)
session).getLocalAvatar();
- avatar.addViewCellConfiguredListener(this);
+// LocalAvatar avatar = ((CellClientSession)
session).getLocalAvatar();
+// avatar.addViewCellConfiguredListener(this);
}
}