[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59037] trunk/blender/intern/cycles/render /tile.cpp: Fix cycles not rendering with 1x1 resolution anymore, not so common for users
Brecht Van Lommel
brechtvanlommel at pandora.be
Fri Aug 9 21:55:46 CEST 2013
Revision: 59037
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59037
Author: blendix
Date: 2013-08-09 19:55:46 +0000 (Fri, 09 Aug 2013)
Log Message:
-----------
Fix cycles not rendering with 1x1 resolution anymore, not so common for users
but nice for debugging.
Modified Paths:
--------------
trunk/blender/intern/cycles/render/tile.cpp
Modified: trunk/blender/intern/cycles/render/tile.cpp
===================================================================
--- trunk/blender/intern/cycles/render/tile.cpp 2013-08-09 19:55:45 UTC (rev 59036)
+++ trunk/blender/intern/cycles/render/tile.cpp 2013-08-09 19:55:46 UTC (rev 59037)
@@ -189,7 +189,7 @@
int64_t cordx = max(1, params.width/resolution);
int64_t cordy = max(1, params.height/resolution);
- int64_t mindist = cordx * cordy;
+ int64_t mindist = INT_MAX;
int64_t centx = cordx / 2, centy = cordy / 2;
More information about the Bf-blender-cvs
mailing list