diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-24 20:55:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-24 20:55:06 +0400 |
commit | 7c846bbe75af2be9124596d2c2ab26dad2023391 (patch) | |
tree | c6f4a72e1949fb313665f164786f02fd25a2f58b /source | |
parent | 1fecf8ff31d38655c952a475f0fc5b31fee58469 (diff) |
add section on how to run scripts in blender for the API intro, found there were no simple docs like this in the wiki.
also set the window type to normal on start when -p argument is given, since the view could be maximized/fullscreen.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 8e0974661c7..3b0660f4301 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -416,9 +416,7 @@ void wm_window_add_ghostwindows(wmWindowManager *wm) win->sizey = wm_init_state.size_y; /* we can't properly resize a maximized window */ - if (win->windowstate == GHOST_kWindowStateMaximized) { - win->windowstate = GHOST_kWindowStateNormal; - } + win->windowstate = GHOST_kWindowStateNormal; wm_init_state.override_flag &= ~WIN_OVERRIDE_GEOM; } |