[Bf-blender-cvs] [562b611] soc-2016-layer_manager: Correction to 2ca18d608cd5dc

Julian Eisel noreply at git.blender.org
Tue May 31 12:34:42 CEST 2016


Commit: 562b61197a19f5a7d9ea634a6ac4ef73edd34481
Author: Julian Eisel
Date:   Tue May 31 12:34:16 2016 +0200
Branches: soc-2016-layer_manager
https://developer.blender.org/rB562b61197a19f5a7d9ea634a6ac4ef73edd34481

Correction to 2ca18d608cd5dc

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

M	source/blender/editors/space_layers/layers_util.c
M	source/blender/editors/space_layers/space_layers.c

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

diff --git a/source/blender/editors/space_layers/layers_util.c b/source/blender/editors/space_layers/layers_util.c
index eb224ce..7446733 100644
--- a/source/blender/editors/space_layers/layers_util.c
+++ b/source/blender/editors/space_layers/layers_util.c
@@ -37,8 +37,6 @@
 
 #include "layers_intern.h"
 
-#include "UI_interface.h"
-
 /**
  * Allocate and register a LayerTile for \a litem.
  */
diff --git a/source/blender/editors/space_layers/space_layers.c b/source/blender/editors/space_layers/space_layers.c
index 85f679e..4594938 100644
--- a/source/blender/editors/space_layers/space_layers.c
+++ b/source/blender/editors/space_layers/space_layers.c
@@ -72,7 +72,7 @@ static SpaceLink *layers_new(const bContext *C)
 	BLI_addtail(&slayer->regionbase, ar);
 	ar->regiontype = RGN_TYPE_WINDOW;
 	ar->v2d.scroll = (V2D_SCROLL_RIGHT | V2D_SCROLL_BOTTOM | V2D_SCROLL_HORIZONTAL_HIDE | V2D_SCROLL_VERTICAL_HIDE);
-	ar->v2d.align = (V2D_ALIGN_NO_NEG_X | V2D_ALIGN_NO_NEG_Y);
+	ar->v2d.align = (V2D_ALIGN_NO_NEG_X | V2D_ALIGN_NO_POS_Y);
 
 	return (SpaceLink *)slayer;
 }




More information about the Bf-blender-cvs mailing list