[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19513] trunk/blender/source/gameengine/ GamePlayer/ghost: Setting ignore_deprecation_warnings as 1 by default in GamePlayer

Dalai Felinto dfelinto at gmail.com
Fri Apr 3 05:52:19 CEST 2009


Revision: 19513
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19513
Author:   dfelinto
Date:     2009-04-03 05:52:19 +0200 (Fri, 03 Apr 2009)

Log Message:
-----------
Setting ignore_deprecation_warnings as 1 by default in GamePlayer
(in the embed BGE it is still 0)

Modified Paths:
--------------
    trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
    trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp

Modified: trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
===================================================================
--- trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp	2009-04-03 03:16:31 UTC (rev 19512)
+++ trunk/blender/source/gameengine/GamePlayer/ghost/GPG_Application.cpp	2009-04-03 03:52:19 UTC (rev 19513)
@@ -530,7 +530,7 @@
 		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);

Modified: trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
===================================================================
--- trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp	2009-04-03 03:16:31 UTC (rev 19512)
+++ trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp	2009-04-03 03:52:19 UTC (rev 19513)
@@ -204,7 +204,7 @@
 	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);





More information about the Bf-blender-cvs mailing list