mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Fix sticky exception when passing over overloads with single string arg.
This commit is contained in:
parent
64120cd7d8
commit
53d10aa3a3
@ -4659,6 +4659,8 @@ write_function_instance(ostream &out, FunctionRemap *remap,
|
|||||||
}
|
}
|
||||||
expected_params += "str";
|
expected_params += "str";
|
||||||
}
|
}
|
||||||
|
// Remember to clear the TypeError that any of the above methods raise.
|
||||||
|
clear_error = true;
|
||||||
only_pyobjects = false;
|
only_pyobjects = false;
|
||||||
|
|
||||||
} else if (TypeManager::is_bool(type)) {
|
} else if (TypeManager::is_bool(type)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user