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-08-26 15:21:59 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-08-26 15:28:50 +0300
commit8870c454a1aa9cd8a0547d533fc0d7fc2a048ca0 (patch)
tree356ba790f86962a28337e934ccea80ddeac31f84 /source/blender/blenkernel/intern/constraint.c
parentf2f107572cc3c2061b535e46f6a0d3571c555957 (diff)
Fix cache constraint not reference counting cache files.
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r--source/blender/blenkernel/intern/constraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c
index 116c75721af..c4afa58b7d3 100644
--- a/source/blender/blenkernel/intern/constraint.c
+++ b/source/blender/blenkernel/intern/constraint.c
@@ -4344,7 +4344,7 @@ static bConstraintTypeInfo CTI_OBJECTSOLVER = {
static void transformcache_id_looper(bConstraint *con, ConstraintIDFunc func, void *userdata)
{
bTransformCacheConstraint *data = con->data;
- func(con, (ID **)&data->cache_file, false, userdata);
+ func(con, (ID **)&data->cache_file, true, userdata);
}
static void transformcache_evaluate(bConstraint *con, bConstraintOb *cob, ListBase *targets)