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>2011-03-10 14:47:36 +0300
committerTon Roosendaal <ton@blender.org>2011-03-10 14:47:36 +0300
commit695f35387bbfcb613c270aaa2e727fd4844d5e3c (patch)
treec33e53999f87183d476c7f05eda6d8f1122f2da2 /source
parent476eadbcb12ca26afe0f535c5e359759d3684cf0 (diff)
Bugfix irc report:
With draw method "Overlap", the preview line for menu "Split area" was not correctly visible.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/screen/screen_ops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index d69011cf2af..0c3a430089f 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -1418,7 +1418,10 @@ static int area_split_modal(bContext *C, wmOperator *op, wmEvent *event)
sd->origmin= sd->sarea->totrct.ymin;
sd->sarea->flag |= AREA_FLAG_DRAWSPLIT_H;
}
- }
+ }
+
+ CTX_wm_window(C)->screen->do_draw= 1;
+
}
fac= (dir == 'v') ? event->x-sd->origmin : event->y-sd->origmin;