Cycles: Set samples to USHRT_MAX per default in the constructor, this is already...
authorThomas Dinges <blender@dingto.org>
Sat, 25 Jan 2014 18:25:24 +0000 (19:25 +0100)
committerThomas Dinges <blender@dingto.org>
Sat, 25 Jan 2014 18:25:24 +0000 (19:25 +0100)
intern/cycles/render/session.h

index b2ab4cb9f34872e10ebff3dc23a1e7c9ee44721e..1227edf81b6f81b9e40785d5033d5adacd8e8ccc 100644 (file)
@@ -69,7 +69,7 @@ public:
 
                progressive = false;
                experimental = false;
-               samples = INT_MAX;
+               samples = USHRT_MAX;
                tile_size = make_int2(64, 64);
                start_resolution = INT_MAX;
                threads = 0;