mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
break ParamObj garbage cycle
This commit is contained in:
parent
2443e6c76a
commit
b3f7067483
@ -1301,8 +1301,8 @@ class ParamObj:
|
||||
# install a setter stub that will a) call the real setter and
|
||||
# then the applier, or b) call the setter and queue the
|
||||
# applier, depending on whether our params are locked
|
||||
self.__dict__[setterName] = Functor(setterStub, param,
|
||||
setterFunc, self)
|
||||
setattr(self, setterName, new.instancemethod(
|
||||
Functor(setterStub, param, setterFunc), self, self.__class__))
|
||||
|
||||
if params is not None:
|
||||
params.applyTo(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user