mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
addTexture -> add_texture
This commit is contained in:
parent
de7ec424c7
commit
94962c15d2
@ -76,7 +76,7 @@ TextureCollection(PyObject *self, PyObject *sequence) {
|
|||||||
if (item == NULL) {
|
if (item == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PyObject *result = PyObject_CallMethod(self, (char *)"addTexture", (char *)"O", item);
|
PyObject *result = PyObject_CallMethod(self, (char *)"add_texture", (char *)"O", item);
|
||||||
Py_DECREF(item);
|
Py_DECREF(item);
|
||||||
if (result == NULL) {
|
if (result == NULL) {
|
||||||
// Unable to add item--probably it wasn't of the appropriate type.
|
// Unable to add item--probably it wasn't of the appropriate type.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user