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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-03-17 11:36:43 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-17 11:36:43 +0300
commit67b7263d3768494b1e1ca7249180223d8d6fdc6b (patch)
tree6ce417d586ec328be3f0b28787361135e3320ba5 /source/blender/editors
parent9772bae88e7cc3936b0a44d5a13c70bc397378ec (diff)
Enable frame updates of duplicache through use of an invalidation flag.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/io/io_cache_library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/io/io_cache_library.c b/source/blender/editors/io/io_cache_library.c
index 094f9b1a66e..faf1d6a64d3 100644
--- a/source/blender/editors/io/io_cache_library.c
+++ b/source/blender/editors/io/io_cache_library.c
@@ -602,7 +602,7 @@ static int cache_library_rebuild_dupligroup_exec(bContext *C, wmOperator *UNUSED
eval_ctx.mode = DAG_EVAL_VIEWPORT;
- BKE_object_dupli_cache_update(scene, ob, &eval_ctx);
+ BKE_object_dupli_cache_update(scene, ob, &eval_ctx, (float)scene->r.cfra);
return OPERATOR_FINISHED;
}