Setting ignore_deprecation_warnings as 1 by default in GamePlayer
authorDalai Felinto <dfelinto@gmail.com>
Fri, 3 Apr 2009 03:52:19 +0000 (03:52 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 3 Apr 2009 03:52:19 +0000 (03:52 +0000)
(in the embed BGE it is still 0)

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

index e858c852b7094b5bfa3cb959b68a000b765a9ee0..cca344a03bb117e92ec76594026c36c6f864ed3e 100644 (file)
@@ -530,7 +530,7 @@ bool GPG_Application::initEngine(GHOST_IWindow* window, const int stereoMode)
                bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixed_framerate", fixedFr) != 0);
                bool frameRate = (SYS_GetCommandLineInt(syshandle, "show_framerate", 0) != 0);
                bool useLists = (SYS_GetCommandLineInt(syshandle, "displaylists", G.fileflags & G_FILE_DISPLAY_LISTS) != 0);
-               bool nodepwarnings = (SYS_GetCommandLineInt(syshandle, "ignore_deprecation_warnings", 0) != 0);
+               bool nodepwarnings = (SYS_GetCommandLineInt(syshandle, "ignore_deprecation_warnings", 1) != 0);
 
                if(GLEW_ARB_multitexture && GLEW_VERSION_1_1)
                        m_blendermat = (SYS_GetCommandLineInt(syshandle, "blender_material", 1) != 0);
index 018c966ac6974e305da85a287b112e51cfdbd082..a41446ad88c4baccab263e625d4126b884c4cf58 100644 (file)
@@ -204,7 +204,7 @@ void usage(const char* program)
        printf("       show_properties                0         Show debug properties\n");
        printf("       show_profile                   0         Show profiling information\n");
        printf("       blender_material               0         Enable material settings\n");
-       printf("       ignore_deprecation_warnings    0         Ignore deprecation warnings\n");
+       printf("       ignore_deprecation_warnings    1         Ignore deprecation warnings\n");
        printf("\n");
        printf("example: %s -w 320 200 10 10 -g noaudio c:\\loadtest.blend\n", program);
        printf("example: %s -g show_framerate = 0 c:\\loadtest.blend\n", program);