Commit: 9c6f1bbcdec07b870750ea19801a67d8fae92da0
Author: Jason Wilkins
Date:   Fri Jul 25 20:53:05 2014 -0500
Branches: soc-2014-viewport_context
https://developer.blender.org/rB9c6f1bbcdec07b870750ea19801a67d8fae92da0

removed functionally dead GHOST_HACK_getFirstFile from GPG_ghost

===================================================================

M       source/gameengine/GamePlayer/ghost/GPG_ghost.cpp

===================================================================

diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp 
b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index e880861..3bb5f17 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -79,8 +79,6 @@ extern "C"
 #include "IMB_imbuf.h"
 #include "IMB_moviecache.h"
        
-       int GHOST_HACK_getFirstFile(char buf[]);
-       
 // For BLF
 #include "BLF_api.h"
 #include "BLF_translation.h"
@@ -294,12 +292,6 @@ static void get_filename(int argc, char **argv, char 
*filename)
                if (BLI_exists(argv[argc-1])) {
                        BLI_strncpy(filename, argv[argc-1], FILE_MAX);
                }
-               if (::strncmp(argv[argc-1], "-psn_", 5)==0) {
-                       static char firstfilebuf[512];
-                       if (GHOST_HACK_getFirstFile(firstfilebuf)) {
-                               BLI_strncpy(filename, firstfilebuf, FILE_MAX);
-                       }
-               }                        
        }
        
        srclen -= ::strlen("MacOS/blenderplayer");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to