remove some old panda support

This commit is contained in:
David Rose 2008-08-08 00:13:59 +00:00
parent 39f5de7827
commit 7fdd1813ac
3 changed files with 2 additions and 12 deletions

View File

@ -1120,10 +1120,6 @@ class Actor(DirectObject, NodePath):
optimal than controlJoint() for cases in which the transform
is not intended to be animated during the lifetime of the
Actor. """
# Temporary condition for old Pandas.
if not hasattr(PartBundle, 'controlJoint'):
return
if transform == None:
transform = TransformState.makePosHprScale(pos, hpr, scale)

View File

@ -144,11 +144,7 @@ class DirectEntry(DirectFrame):
DirectFrame.destroy(self)
def setup(self):
# Temporary condition for old pandas.
if hasattr(self.guiItem, 'setupMinimal'):
self.guiItem.setupMinimal(self['width'], self['numLines'])
else:
self.guiItem.setup(self['width'], self['numLines'])
def setFocus(self):
PGEntry.setFocus(self.guiItem, self['focus'])

View File

@ -51,8 +51,6 @@ class Loader(DirectObject):
def destroy(self):
self.ignore(self.hook)
# Temp condition for old Panda.
if hasattr(self.loader, "stopThreads"):
self.loader.stopThreads()
del self.base
del self.loader