mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
interrogate: fix regression in 2c91fdda1b6630b3b1166bf99f8ad3cb6bd6baa9
This commit is contained in:
parent
05eaf930b1
commit
ba256a8b07
@ -1885,7 +1885,9 @@ write_module_class(ostream &out, Object *obj) {
|
||||
out << " Py_INCREF(Py_NotImplemented);\n";
|
||||
out << " return Py_NotImplemented;\n";
|
||||
} else if (all_nonconst) {
|
||||
out << " if (!Dtool_Call_ExtractThisPointer_NonConst(self, Dtool_" << ClassName << ", (void **)&local_this)) {\n";
|
||||
out << " if (!Dtool_Call_ExtractThisPointer_NonConst(self, Dtool_"
|
||||
<< ClassName << ", (void **)&local_this, \"" << ClassName
|
||||
<< "." << methodNameFromCppName(fname, "", false) << "\")) {\n";
|
||||
out << " return nullptr;\n";
|
||||
} else {
|
||||
out << " if (!Dtool_Call_ExtractThisPointer(self, Dtool_" << ClassName << ", (void **)&local_this)) {\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user