Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-11-22 18:58:09 +0300
committerTon Roosendaal <ton@blender.org>2005-11-22 18:58:09 +0300
commitdd57ec03a15866db564a50ba29486f231d261ab6 (patch)
treed3782385618cafa3f3bd502690e2d0aef7b37396 /source
parent3cd17c637a380576a72ba282de5715a5b46bd56a (diff)
Removed clipping conventions for setting prefsize in Blender. Meaning, for
dual monitors you can start blender on a negative starting size too, like blender -p -1280 0 1920 1280
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editscreen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 8c964bd21cb..c81e7f2af35 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -1486,15 +1486,15 @@ void setprefsize(int stax, int stay, int sizx, int sizy)
winlay_get_screensize(&scrwidth, &scrheight);
- if(stax<0) stax= 0;
- if(stay<0) stay= 0;
+// if(stax<0) stax= 0;
+// if(stay<0) stay= 0;
if(sizx<320) sizx= 320;
if(sizy<256) sizy= 256;
- if(stax+sizx>scrwidth) {
- fprintf(stderr," width prob \n");
- sizx= scrwidth-stax;
- }
+// if(stax+sizx>scrwidth) {
+// fprintf(stderr," width prob \n");
+// sizx= scrwidth-stax;
+// }
if(stay+sizy>scrheight) {
fprintf(stderr," height prob \n");