Cleanup: Else after return in Cycles

This commit is contained in:
Sergey Sharybin 2021-10-08 09:55:29 +02:00
parent 6c11733dfb
commit 3284b5bbde
1 changed files with 6 additions and 7 deletions

View File

@ -72,15 +72,14 @@ bool BlenderOutputDriver::update_render_tile(const Tile &tile)
write_render_tile(tile);
return true;
}
else {
/* Don't highlight full-frame tile. */
if (!(tile.size == tile.full_size)) {
b_engine_.tile_highlight_clear_all();
b_engine_.tile_highlight_set(tile.offset.x, tile.offset.y, tile.size.x, tile.size.y, true);
}
return false;
/* Don't highlight full-frame tile. */
if (!(tile.size == tile.full_size)) {
b_engine_.tile_highlight_clear_all();
b_engine_.tile_highlight_set(tile.offset.x, tile.offset.y, tile.size.x, tile.size.y, true);
}
return false;
}
void BlenderOutputDriver::write_render_tile(const Tile &tile)