mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
pgraph: Fix assertion in PythonLoaderFileType with debug Python build
This commit is contained in:
parent
b736b3e4db
commit
d66ef59ecc
@ -48,6 +48,7 @@ Miscellaneous
|
||||
* FilterManager mul parameter now accepts floating-point values (#1231)
|
||||
* Assorted minor API documentation improvements
|
||||
* Fix memory leak getting Bullet persistent manifolds from Python (#1193)
|
||||
* Fix assertion in PythonLoaderFileType with debug Python build
|
||||
* Add missing property interface to PlaneNode
|
||||
* Fix prepare_scene() not properly invoking the Shader Generator
|
||||
* Add name property to AICharacter class (#1205)
|
||||
|
@ -172,8 +172,12 @@ init(PyObject *loader) {
|
||||
}
|
||||
Py_DECREF(supports_compressed);
|
||||
}
|
||||
else {
|
||||
PyErr_Clear();
|
||||
}
|
||||
|
||||
_load_func = PyObject_GetAttrString(loader, "load_file");
|
||||
PyErr_Clear();
|
||||
_save_func = PyObject_GetAttrString(loader, "save_file");
|
||||
PyErr_Clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user