| Server IP : 82.208.35.60 / Your IP : 216.73.217.167 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/appleseed/files/ |
Upload File : |
--- src/appleseed.studio/python/pythoninterpreter.cpp.orig 2019-08-31 15:49:01 UTC
+++ src/appleseed.studio/python/pythoninterpreter.cpp
@@ -62,7 +62,7 @@ BOOST_PYTHON_MODULE(_appleseedpythonbuiltin)
}
// Generated by BOOST_PYTHON_MODULE() declarations in module.cpp files.
-extern "C" void init_appleseedstudio();
+extern "C" PyObject* PyInit__appleseedstudio();
namespace appleseed {
namespace studio {
@@ -177,8 +177,8 @@ void PythonInterpreter::initialize(OutputRedirector re
// from e.g. renderer::Project to appleseedpython.Project.
//
- PyImport_AppendInittab("_appleseedpythonbuiltin", init_appleseedpythonbuiltin);
- PyImport_AppendInittab("_appleseedstudio", init_appleseedstudio);
+ PyImport_AppendInittab("_appleseedpythonbuiltin", PyInit__appleseedpythonbuiltin);
+ PyImport_AppendInittab("_appleseedstudio", PyInit__appleseedstudio);
Py_Initialize();
bpy::object main_module = bpy::import("__main__");