diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-03-04 21:38:18 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-03-04 21:38:18 +0300 |
commit | b7bfa641ca52b852d885cb401a08fc904f5a5849 (patch) | |
tree | 09cc8e22c4f504f06b21c778566a1a22b79d36e0 /source/creator | |
parent | a37009f582dd83a0422bd4009d521445f4f6c5c0 (diff) |
I broke it for the case where -w and -W are not called. This should fix that up as well.
Kent
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 7ca658978f9..8562fc3d7d4 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -476,12 +476,8 @@ int main(int argc, char **argv) } } - /* XXX, fixme zr, with borders */ - /* 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); + if ( (G.windowstate == G_WINDOWSTATE_BORDER) || (G.windowstate == G_WINDOWSTATE_FULLSCREEN)) + setprefsize(stax, stay, sizx, sizy, 0); BPY_start_python(argc, argv); |