[Bf-blender-cvs] [139cab0] blender-v2.76-release: Correction to previous commit

Julian Eisel noreply at git.blender.org
Wed Sep 23 16:11:50 CEST 2015


Commit: 139cab0937f3cf8de4e53a19626ff539ac369101
Author: Julian Eisel
Date:   Sat Sep 19 03:17:06 2015 +0200
Branches: blender-v2.76-release
https://developer.blender.org/rB139cab0937f3cf8de4e53a19626ff539ac369101

Correction to previous commit

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

M	source/blender/editors/space_file/file_utils.c

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

diff --git a/source/blender/editors/space_file/file_utils.c b/source/blender/editors/space_file/file_utils.c
index 435c04b..3c007f2 100644
--- a/source/blender/editors/space_file/file_utils.c
+++ b/source/blender/editors/space_file/file_utils.c
@@ -41,7 +41,7 @@ void file_tile_boundbox(const ARegion *ar, FileLayout *layout, const int file, r
 	int xmin, ymax;
 
 	ED_fileselect_layout_tilepos(layout, file, &xmin, &ymax);
-	ymax = ar->v2d.tot.ymax - ymax; /* real, view space ymax */
+	ymax = (int)ar->v2d.tot.ymax - ymax; /* real, view space ymax */
 	BLI_rcti_init(r_bounds, xmin, xmin + layout->tile_w + layout->tile_border_x,
 	              ymax - layout->tile_h - layout->tile_border_y, ymax);
 }




More information about the Bf-blender-cvs mailing list