mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 20:23:47 -04:00
added ScratchPad.destroy()
This commit is contained in:
parent
6257151e81
commit
8e40eec7de
@ -2176,6 +2176,10 @@ class ScratchPad:
|
||||
def __init__(self, **kArgs):
|
||||
for key, value in kArgs.items():
|
||||
setattr(self, key, value)
|
||||
self._keys = kArgs.keys()
|
||||
def destroy(self):
|
||||
for key in self._keys:
|
||||
delattr(self, key)
|
||||
|
||||
class Sync:
|
||||
_SeriesGen = SerialNumGen()
|
||||
|
Loading…
x
Reference in New Issue
Block a user