[Bf-blender-cvs] [4b39069] master: Fix jumping view when expanding graph editor channel over view bounds

Julian Eisel noreply at git.blender.org
Fri Sep 16 16:42:07 CEST 2016


Commit: 4b39069908c88099860c04a3b7d3b4aae0a272f5
Author: Julian Eisel
Date:   Fri Sep 16 16:38:57 2016 +0200
Branches: master
https://developer.blender.org/rB4b39069908c88099860c04a3b7d3b4aae0a272f5

Fix jumping view when expanding graph editor channel over view bounds

Didn't change versioning_250.c entries, flags will be overridden anyway.

===================================================================

M	source/blender/editors/space_graph/space_graph.c

===================================================================

diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c
index b35d1b2..f12db31 100644
--- a/source/blender/editors/space_graph/space_graph.c
+++ b/source/blender/editors/space_graph/space_graph.c
@@ -335,8 +335,8 @@ static void graph_channel_region_init(wmWindowManager *wm, ARegion *ar)
 	wmKeyMap *keymap;
 	
 	/* make sure we keep the hide flags */
-	ar->v2d.scroll |= (V2D_SCROLL_RIGHT | V2D_SCROLL_BOTTOM);
-	ar->v2d.scroll &= ~(V2D_SCROLL_LEFT | V2D_SCROLL_TOP);	/* prevent any noise of past */
+	ar->v2d.scroll |= V2D_SCROLL_RIGHT;
+	ar->v2d.scroll &= ~(V2D_SCROLL_LEFT | V2D_SCROLL_TOP | V2D_SCROLL_BOTTOM);	/* prevent any noise of past */
 	ar->v2d.scroll |= V2D_SCROLL_HORIZONTAL_HIDE;
 	ar->v2d.scroll |= V2D_SCROLL_VERTICAL_HIDE;




More information about the Bf-blender-cvs mailing list