mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 14:43:50 -04:00
gobj: Fix crash in PythonTexturePoolFilter
This commit is contained in:
parent
c62d2319e0
commit
3456769703
@ -67,6 +67,7 @@ init(PyObject *tex_filter) {
|
||||
nassertr(_post_load_func == nullptr, false);
|
||||
|
||||
_pre_load_func = PyObject_GetAttrString(tex_filter, "pre_load");
|
||||
PyErr_Clear();
|
||||
_post_load_func = PyObject_GetAttrString(tex_filter, "post_load");
|
||||
PyErr_Clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user