[Bf-blender-cvs] [cacd7c7] master: Disable region overlap in movie clip editor
Sergey Sharybin
noreply at git.blender.org
Mon Dec 16 12:18:07 CET 2013
Commit: cacd7c725b5d5c1961795ddc94b99c3a5aaaa43c
Author: Sergey Sharybin
Date: Mon Dec 16 17:16:05 2013 +0600
http://developer.blender.org/rBcacd7c725b5d5c1961795ddc94b99c3a5aaaa43c
Disable region overlap in movie clip editor
Before it was giving weird behavior with timeline in MCE
and track preview widgets. But there's also no much benefit
of having transparent toolbox there.
Requested by our motrack guru Sebastian ages ago.
===================================================================
M source/blender/editors/screen/area.c
===================================================================
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index f53b26d..b963d2a 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -917,7 +917,7 @@ static int region_is_overlap(wmWindow *win, ScrArea *sa, ARegion *ar)
if (ELEM3(ar->regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_TOOL_PROPS))
return 1;
}
- else if (ELEM(sa->spacetype, SPACE_IMAGE, SPACE_CLIP)) {
+ else if (sa->spacetype == SPACE_IMAGE) {
if (ELEM4(ar->regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_TOOL_PROPS, RGN_TYPE_PREVIEW))
return 1;
}
More information about the Bf-blender-cvs
mailing list