gobj: Fix crash in PythonTexturePoolFilter

This commit is contained in:
rdb 2022-03-09 15:51:32 +01:00
parent c62d2319e0
commit 3456769703

View File

@ -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();