[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51898] trunk/blender/intern/cycles/render /tile.cpp: Stupid copy-paste typo in tiles commit.
Sergey Sharybin
sergey.vfx at gmail.com
Mon Nov 5 12:57:16 CET 2012
Revision: 51898
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51898
Author: nazgul
Date: 2012-11-05 11:57:14 +0000 (Mon, 05 Nov 2012)
Log Message:
-----------
Stupid copy-paste typo in tiles commit.
That was an example how you should not code :)
Modified Paths:
--------------
trunk/blender/intern/cycles/render/tile.cpp
Modified: trunk/blender/intern/cycles/render/tile.cpp
===================================================================
--- trunk/blender/intern/cycles/render/tile.cpp 2012-11-05 11:34:53 UTC (rev 51897)
+++ trunk/blender/intern/cycles/render/tile.cpp 2012-11-05 11:57:14 UTC (rev 51898)
@@ -135,7 +135,7 @@
int x = tile_x * tile_size.x;
int y = tile_y * tile_size.y;
int w = (tile_x == tile_w-1)? image_w - x: tile_size.x;
- int h = (tile_y == tile_h-1)? device_h - y: tile_size.x;
+ int h = (tile_y == tile_h-1)? device_h - y: tile_size.y;
state.tiles.push_back(Tile(tile_index, x, y + device_y, w, h, device));
}
More information about the Bf-blender-cvs
mailing list