Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-01-25 22:25:24 +0400
committerThomas Dinges <blender@dingto.org>2014-01-25 22:25:24 +0400
commit97aab5acc4a397c73868b9f960e706153ac73f2e (patch)
tree31dc999743302f02166e2a11503c8108f06d875f /intern/cycles/render/session.h
parentf746d90398760b604c0b0037ab5d592dfd88c1ee (diff)
Cycles: Set samples to USHRT_MAX per default in the constructor, this is already used elsewhere.
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r--intern/cycles/render/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h
index b2ab4cb9f34..1227edf81b6 100644
--- a/intern/cycles/render/session.h
+++ b/intern/cycles/render/session.h
@@ -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;