Added updateSelection()

This commit is contained in:
Gyedo Jeon 2007-06-27 20:56:04 +00:00
parent 68772fbb9e
commit 525c9f9dc4
1 changed files with 6 additions and 0 deletions

View File

@ -121,6 +121,12 @@ class SceneGraphExplorer(Pmw.MegaWidget, DirectObject):
# Remove hooks
self.ignore('DIRECT_activeParent')
self.ignore('SGE_Update Explorer')
def updateSelection(self, searchKey):
# [gjeon] update SGE selection with directSession
sceneGraphItem = self._node.find(searchKey)
sceneGraphItem.reveal()
sceneGraphItem.select()
class SceneGraphExplorerItem(TreeItem):