mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
new destroy function for cleanup
This commit is contained in:
parent
3b0b3e20b7
commit
1fb4234c1f
@ -23,6 +23,10 @@ class Loader:
|
||||
self.base = base
|
||||
self.loader = PandaLoader()
|
||||
|
||||
def destroy(self):
|
||||
del self.base
|
||||
del self.loader
|
||||
|
||||
# model loading funcs
|
||||
def loadModel(self, modelPath, fMakeNodeNamesUnique = 0):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user