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!)
This commit is contained in:
Ton Roosendaal 2009-05-21 17:13:50 +00:00
parent aae27374f7
commit 34498f3870

@ -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;