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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-02-21 15:29:27 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-02-21 15:30:29 +0300
commit888d81018548eab1b33b5a6811f55f0b8b3c1749 (patch)
tree9b42eb9fb3b79f2dad7fd2a964a79bf796bf41c2 /intern/cycles/render/session.h
parenta97bc1bedf6fa63cbafbc9f004f9a6c8f472ae44 (diff)
Cycles: Use lower progressive update timeout for preview rendering
This ways previews are refreshing with the same ratio as job was expecting this to happen, giving more instant feedback on the changes.
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r--intern/cycles/render/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h
index a39a2a081dd..c77652d3722 100644
--- a/intern/cycles/render/session.h
+++ b/intern/cycles/render/session.h
@@ -59,6 +59,7 @@ public:
double cancel_timeout;
double reset_timeout;
double text_timeout;
+ double progressive_update_timeout;
ShadingSystem shadingsystem;
@@ -80,6 +81,7 @@ public:
cancel_timeout = 0.1;
reset_timeout = 0.1;
text_timeout = 1.0;
+ progressive_update_timeout = 1.0;
shadingsystem = SHADINGSYSTEM_SVM;
tile_order = TILE_CENTER;
@@ -101,6 +103,7 @@ public:
&& cancel_timeout == params.cancel_timeout
&& reset_timeout == params.reset_timeout
&& text_timeout == params.text_timeout
+ && progressive_update_timeout == params.progressive_update_timeout
&& tile_order == params.tile_order
&& shadingsystem == params.shadingsystem); }