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:
authorDalai Felinto <dfelinto@gmail.com>2014-07-23 01:41:01 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-07-25 18:42:53 +0400
commitfc55c41bba8121bf3db67280c26e840f8b3f4124 (patch)
tree181abfb43fbbdf84b85206ddc1c2de7635a0dbaf /intern/cycles/render/bake.h
parent2e50b4dc511567a3dfb280e30b5606873fc62d31 (diff)
Cycles Bake: show progress bar during bake
Baking progress preview is not possible, in parts due to the way the API was designed. But at least you get to see the progress bar while baking. Reviewers: sergey Differential Revision: https://developer.blender.org/D656
Diffstat (limited to 'intern/cycles/render/bake.h')
-rw-r--r--intern/cycles/render/bake.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/bake.h b/intern/cycles/render/bake.h
index f91ba589b8b..bf03a164f8e 100644
--- a/intern/cycles/render/bake.h
+++ b/intern/cycles/render/bake.h
@@ -70,6 +70,9 @@ public:
bool need_update;
+ int num_samples;
+ int num_parts;
+
private:
BakeData *m_bake_data;
bool m_is_baking;