[Bf-blender-cvs] [bc5238e] master: Correction to previous commit

Julian Eisel noreply at git.blender.org
Sat Sep 19 03:17:38 CEST 2015


Commit: bc5238e3ccb76556891d425994e73bfb5c33acb8
Author: Julian Eisel
Date:   Sat Sep 19 03:17:06 2015 +0200
Branches: master
https://developer.blender.org/rBbc5238e3ccb76556891d425994e73bfb5c33acb8

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