mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
remove some old panda support
This commit is contained in:
parent
39f5de7827
commit
7fdd1813ac
@ -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)
|
||||
|
||||
|
@ -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'])
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user