Page MenuHome

fix_22775.patch

Authored By
Shane Ambler (sambler)
Nov 13 2013, 2:36 PM
Size
701 B
Subscribers
None

fix_22775.patch

diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 7b96618..9acab5b 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -198,6 +198,10 @@ static void action_main_area_draw(const bContext *C, ARegion *ar)
/* reset view matrix */
UI_view2d_view_restore(C);
+ if( v2d->cur.ymin > v2d->tot.ymax ) {
+ v2d->cur.ymax= v2d->tot.ymax;
+ }
+
/* scrollers */
scrollers= UI_view2d_scrollers_calc(C, v2d, unit, V2D_GRID_CLAMP, V2D_ARG_DUMMY, V2D_ARG_DUMMY);
UI_view2d_scrollers_draw(C, v2d, scrollers);

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/0c/e0a8bf659d0dfff9aa2b9bc66e3a

Event Timeline