From 704fef314a6a4ed17ad93cb32f1821c337ddb7d5 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 14 Sep 2008 00:32:18 +0000 Subject: Various game engine fixes: * Fix issue with add transparency mode with blender materials. * Possible fix at frontface flip in the game engine. * Fix color buffering clearing for multiple viewports, it used to clear as if there was one. * Fix for zoom level in user defined viewports, it was based on the full window before, now it is based on the viewport itself. * For user defined viewports, always use Expose instead of Letterbox with bars, the latter doesn't make sense then. --- source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/gameengine/GamePlayer/ghost') diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 0b4fde61e1c..4d24ba195cc 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -629,7 +629,8 @@ int main(int argc, char** argv) char pathname[160]; get_filename(argc, argv, filename); - make_absolute_filename(filename); + if(filename[0]) + make_absolute_filename(filename); do { -- cgit v1.2.3