Blender Git Commit Log
Git Commits -> Revision c31de00
Revision c31de00 by Willian Padovani Germano (master) January 18, 2004, 15:08 (GMT) |
Script menus: -- trying a different approach to see if the crash on Windows goes away. Running a script with PyRun_File -- a Python/C API function -- was probably the cause for crashes on Windows, because it uses a pointer to a FILE struct and on windows this struct can be "different and incompatible" depending on which libc was used to build the program. This is mentioned in the Python/C API Ref Manual, chapter 2. Now we're loading the file contents to a string buffer and using PyRun_String. |
Commit Details:
Full Hash: c31de00284cbbb655b3c33be2c60dd899e5da18a
SVN Revision: 1955
Parent Commit: e581b5c
Lines Changed: +25, -4
1 Modified Path:
/source/blender/python/BPY_interface.c (+25, -4) (Diff)