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>2017-11-03 20:04:50 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-06 11:24:24 +0300
commitad557da78ac9426babcfa7cf28e54471747ed4c3 (patch)
tree9a9243c4112a976c2d8857ac01ad688d1dbbb444 /source/blender/editors/physics/physics_pointcache.c
parent90738e14414ce979146fd20d2a31a3c5e5eebce9 (diff)
Depsgraph: Use explicit graph API for point cache
Diffstat (limited to 'source/blender/editors/physics/physics_pointcache.c')
-rw-r--r--source/blender/editors/physics/physics_pointcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c
index 74946e3f44d..7dab98036c6 100644
--- a/source/blender/editors/physics/physics_pointcache.c
+++ b/source/blender/editors/physics/physics_pointcache.c
@@ -167,6 +167,7 @@ static PTCacheBaker *ptcache_baker_create(bContext *C, wmOperator *op, bool all)
baker->main = CTX_data_main(C);
baker->scene = CTX_data_scene(C);
baker->scene_layer = CTX_data_scene_layer(C);
+ baker->depsgraph = CTX_data_depsgraph(C);
baker->bake = RNA_boolean_get(op->ptr, "bake");
baker->render = 0;
baker->anim_init = 0;