BGE Python API
Separate getting a normal attribute and getting __dict__, was having to do too a check for __dict__ on each class (multiple times per getattro call from python) when its not used that often.
This commit is contained in:
@@ -149,4 +149,8 @@ PyObject* SCA_XNORController::py_getattro(PyObject *attr) {
|
||||
py_getattro_up(SCA_IController);
|
||||
}
|
||||
|
||||
PyObject* SCA_XNORController::py_getattro_dict() {
|
||||
py_getattro_dict_up(SCA_IController);
|
||||
}
|
||||
|
||||
/* eof */
|
||||
|
||||
Reference in New Issue
Block a user