[Bf-blender-cvs] [8870c45] master: Fix cache constraint not reference counting cache files.
Kévin Dietrich
noreply at git.blender.org
Fri Aug 26 14:29:01 CEST 2016
Commit: 8870c454a1aa9cd8a0547d533fc0d7fc2a048ca0
Author: Kévin Dietrich
Date: Fri Aug 26 14:21:59 2016 +0200
Branches: master
https://developer.blender.org/rB8870c454a1aa9cd8a0547d533fc0d7fc2a048ca0
Fix cache constraint not reference counting cache files.
===================================================================
M source/blender/blenkernel/intern/constraint.c
===================================================================
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c
index 116c757..c4afa58 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)
More information about the Bf-blender-cvs
mailing list