mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fixed a bug with getSelectedAsList
This commit is contained in:
parent
c7f9706553
commit
b4785c9485
@ -139,7 +139,7 @@ class SelectedNodePaths(DirectObject):
|
|||||||
connectivity is performed on the members of the list
|
connectivity is performed on the members of the list
|
||||||
"""
|
"""
|
||||||
#return self.selectedDict.values()[:]
|
#return self.selectedDict.values()[:]
|
||||||
return self.selectedList # [gjeon] now return the list with selected order
|
return self.selectedList[:] # [gjeon] now return the list with selected order
|
||||||
|
|
||||||
def __getitem__(self, index):
|
def __getitem__(self, index):
|
||||||
return self.getSelectedAsList()[index]
|
return self.getSelectedAsList()[index]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user