Blender Git Loki

Git Commits -> Revision 676829c

Revision 676829c by Campbell Barton (master)
October 27, 2010, 06:05 (GMT)
workaround for python bug [#24400] If Script is executed with TEXT Editor, it becomes an error.
having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.

Commit Details:

Full Hash: 676829ccba10da1d83f809ad243685707bb7543d
SVN Revision: 32728
Parent Commit: 27b527c
Lines Changed: +32, -20

4 Modified Paths:

/source/blender/python/generic/bpy_internal_import.c (+14, -7) (Diff)
/source/blender/python/generic/bpy_internal_import.h (+7, -11) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+10, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021