Correction top previous commit: tiles were counted in opposite way
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 3 Aug 2012 11:13:38 +0000 (11:13 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 3 Aug 2012 11:13:38 +0000 (11:13 +0000)
intern/cycles/render/session.cpp

index 01aff644c37dd32e7a6704801abb0e3c4b9c8a62..addd97ca8408d852ead63b36b519025b194b5d46 100644 (file)
@@ -652,8 +652,7 @@ void Session::update_status_time(bool show_pause, bool show_done)
        int num_samples = tile_manager.state.num_samples;
        int resolution = tile_manager.state.resolution;
        int num_tiles = tile_manager.state.num_tiles;
-       int num_rendered_tiles = tile_manager.state.num_rendered_tiles;
-       int tile = num_tiles - num_rendered_tiles;
+       int tile = tile_manager.state.num_rendered_tiles;
 
        /* update status */
        string status, substatus;