Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2015-09-19 04:17:06 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-23 17:02:22 +0300
commit139cab0937f3cf8de4e53a19626ff539ac369101 (patch)
tree20b58a512f01597033fd118a9e8c82a1fe19bf67
parent13589207160316d8a5d1845c0a7302f3422973d3 (diff)
Correction to previous commit
-rw-r--r--source/blender/editors/space_file/file_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_utils.c b/source/blender/editors/space_file/file_utils.c
index 435c04b8ef1..3c007f25da3 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);
}