Drop support for python 3.1.
for building py3.2 on *nix see: http://wiki.blender.org/index.php?title=Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#Python also fixed possible buffer overrun with getting the fake filepath for a blender textblock.
This commit is contained in:
@@ -415,11 +415,7 @@ void SCA_PythonController::Trigger(SCA_LogicManager* logicmgr)
|
||||
|
||||
excdict= PyDict_Copy(m_pythondictionary);
|
||||
|
||||
#if PY_VERSION_HEX >= 0x03020000
|
||||
resultobj = PyEval_EvalCode((PyObject *)m_bytecode, excdict, excdict);
|
||||
#else
|
||||
resultobj = PyEval_EvalCode((PyCodeObject *)m_bytecode, excdict, excdict);
|
||||
#endif
|
||||
|
||||
/* PyRun_SimpleString(m_scriptText.Ptr()); */
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user