[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13968] trunk/blender/source/creator/ creator.c: Small change in the logic for -w -p The previous changes didn' t quite work all the time.
Kent Mein
mein at cs.umn.edu
Tue Mar 4 19:32:00 CET 2008
Revision: 13968
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13968
Author: sirdude
Date: 2008-03-04 19:31:57 +0100 (Tue, 04 Mar 2008)
Log Message:
-----------
Small change in the logic for -w -p The previous changes didn't quite work all the time.
This should simplify things.
Kent
Modified Paths:
--------------
trunk/blender/source/creator/creator.c
Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c 2008-03-04 13:33:19 UTC (rev 13967)
+++ trunk/blender/source/creator/creator.c 2008-03-04 18:31:57 UTC (rev 13968)
@@ -427,7 +427,6 @@
a++;
sizy= atoi(argv[a]);
- setprefsize(stax, stay, sizx, sizy, 0);
break;
case 'd':
G.f |= G_DEBUG; /* std output printf's */
@@ -448,6 +447,10 @@
case 'W':
/* XXX, fixme zr, borderless on win32 */
/* now on all platforms as of 20070411 - DJC */
+ winlay_get_screensize(&sizx, &sizy);
+ stax=0;
+ stay=0;
+
G.windowstate = G_WINDOWSTATE_FULLSCREEN;
break;
case 'R':
@@ -478,10 +481,7 @@
* this, right now do as if blender was
* called with "-p 0 0 xres yres" -- sgefant
*/
- if (G.windowstate == G_WINDOWSTATE_BORDER) {
- winlay_get_screensize(&sizx, &sizy);
- setprefsize(0, 0, sizx, sizy, 1);
- }
+ setprefsize(stax, stay, sizx, sizy, 0);
BPY_start_python(argc, argv);
More information about the Bf-blender-cvs
mailing list