mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Fix bind failure due to function overload and move to std bind
This commit is contained in:
@@ -963,7 +963,7 @@ bool PythonRunner::initPython(const QString &pythonPath)
|
||||
|
||||
bool handled_exec_file(bpy::str filename, bpy::object globals = bpy::object(), bpy::object locals = bpy::object())
|
||||
{
|
||||
return bpy::handle_exception(boost::bind(bpy::exec_file, filename, globals, locals));
|
||||
return bpy::handle_exception(std::bind<bpy::object(&)(bpy::str, bpy::object, bpy::object)>(bpy::exec_file, filename, globals, locals));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user