Fixed a toontown problem caused by new LE development

This commit is contained in:
Gyedo Jeon 2009-12-08 01:55:26 +00:00
parent f4da45091a
commit e47bc0df72

View File

@ -560,11 +560,13 @@ class SelectionQueue(CollisionHandlerQueue):
(nodePath.getName() in self.unpickable)): (nodePath.getName() in self.unpickable)):
# Skip if in unpickable list # Skip if in unpickable list
pass pass
elif ((skipFlags & SKIP_WIDGET) and elif base.direct and\
((skipFlags & SKIP_WIDGET) and
(nodePath.getTag('WidgetName') != base.direct.widget.getName())): (nodePath.getTag('WidgetName') != base.direct.widget.getName())):
# Skip if this widget part is not belong to current widget # Skip if this widget part is not belong to current widget
pass pass
elif ((skipFlags & SKIP_WIDGET) and base.direct.fControl and elif base.direct and\
((skipFlags & SKIP_WIDGET) and base.direct.fControl and
(nodePath.getName()[2:] == 'ring')): (nodePath.getName()[2:] == 'ring')):
# Skip when ununiformly scale in ortho view # Skip when ununiformly scale in ortho view
pass pass