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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-01-17 04:01:41 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-01-17 04:01:41 +0300
commit45b6893e7045f0f2ce02e2b97a877fd54c2078b9 (patch)
treed22e089c61f44e3a14647ad8e9a5b073db26b112 /source/blender/blenkernel/BKE_pointcache.h
parent75cfc81ec39ac9953f25eb0ae5f9e70d3c24ee7e (diff)
Point Cache: use job system for bake operators.
Reviewers: brecht Differential Revision: https://developer.blender.org/D1731
Diffstat (limited to 'source/blender/blenkernel/BKE_pointcache.h')
-rw-r--r--source/blender/blenkernel/BKE_pointcache.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_pointcache.h b/source/blender/blenkernel/BKE_pointcache.h
index a3ffad1f66b..d1b8aa672c5 100644
--- a/source/blender/blenkernel/BKE_pointcache.h
+++ b/source/blender/blenkernel/BKE_pointcache.h
@@ -178,11 +178,9 @@ typedef struct PTCacheBaker {
int anim_init;
int quick_step;
struct PTCacheID *pid;
- int (*break_test)(void *data);
- void *break_data;
- void (*progressbar)(void *data, int num);
- void (*progressend)(void *data);
- void *progresscontext;
+
+ void (*update_progress)(void *data, float progress, int *cancel);
+ void *bake_job;
} PTCacheBaker;
/* PTCacheEditKey->flag */