Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / render / session.cpp
index 99826aa4349f20044d85149abc7911cd4262c615..65b73eb2ad33a56295dc60d94b59af8952ab2d62 100644 (file)
@@ -889,9 +889,9 @@ bool Session::update_progressive_refine(bool cancel)
 
        double current_time = time_dt();
 
-       if (current_time - last_update_time < params.progressive_update_timeout) {
+       if(current_time - last_update_time < params.progressive_update_timeout) {
                /* if last sample was processed, we need to write buffers anyway  */
-               if (!write)
+               if(!write)
                        return false;
        }