diff options
author | Ton Roosendaal <ton@blender.org> | 2009-05-21 21:13:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-05-21 21:13:50 +0400 |
commit | 34498f3870c8b003af6cb498cb5e56cd573148d1 (patch) | |
tree | f842d4f9e26b735a3aa8065c9fcfeb7c2f607c77 /source/blender | |
parent | aae27374f73a17e5827b0d0a80a65e930ae3f4b5 (diff) |
2.5
Bugfix: In full-area screen mode, you cannot split windows again, the
full-area code is too primitive for that. Just disabled now.
(reported by Venom's Lab!)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index c991a63e762..aea27930c16 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -1023,6 +1023,10 @@ static int area_split_invoke(bContext *C, wmOperator *op, wmEvent *event) return OPERATOR_PASS_THROUGH; } + /* no full window splitting allowed */ + if(CTX_wm_area(C)->full) + return OPERATOR_PASS_THROUGH; + /* verify *sad itself */ if(sad==NULL || sad->sa1==NULL || sad->az==NULL) return OPERATOR_PASS_THROUGH; |