YoFrankie bug [#18857] On start gives ImportError: No module named frankie_scripts
authorCampbell Barton <ideasman42@gmail.com>
Mon, 1 Jun 2009 05:43:58 +0000 (05:43 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 1 Jun 2009 05:43:58 +0000 (05:43 +0000)
commit94af7242939ef8da07f63feb3d44981ca26beab5
tree85eb0ea4db92b98df38e2d70cd3e60b1a4d7b968
parente415fa27b019c1b00bdb443dbf39491de941aab1
YoFrankie bug [#18857] On start gives ImportError: No module named frankie_scripts

GameEngine sys.path creation was broken because of a pesky slash at the end of each path name.
Win32 sys.paths were also failing when running a game that switched between blend files in different directories

On win32 for some reason making absolute paths from lib->name failed, work around this by using lib->filename.

STR_String.h, cast to float to quiet compiler warnings.
intern/string/STR_String.h
source/gameengine/Ketsji/KX_PythonInit.cpp