I broke it for the case where -w and -W are not called. This should fix that up as well.

Kent
This commit is contained in:
Kent Mein 2008-03-04 18:38:18 +00:00
parent a37009f582
commit b7bfa641ca

@ -476,11 +476,7 @@ int main(int argc, char **argv)
} }
} }
/* XXX, fixme zr, with borders */ if ( (G.windowstate == G_WINDOWSTATE_BORDER) || (G.windowstate == G_WINDOWSTATE_FULLSCREEN))
/* there probably is a better way to do
* this, right now do as if blender was
* called with "-p 0 0 xres yres" -- sgefant
*/
setprefsize(stax, stay, sizx, sizy, 0); setprefsize(stax, stay, sizx, sizy, 0);
BPY_start_python(argc, argv); BPY_start_python(argc, argv);