Correction to previous commit

This commit is contained in:
Julian Eisel
2015-09-19 03:17:06 +02:00
parent 1bb89a6028
commit bc5238e3cc

View File

@@ -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);
}