diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-08 16:27:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-08 16:27:10 +0300 |
commit | 43e0e8defa71bd3086b8547c848f7686e019e51b (patch) | |
tree | 465e11bca0b4962b66e3a24f362929a3f2c930a1 /source/blender/modifiers/intern/MOD_meshsequencecache.c | |
parent | 3740f7593d7146135c2d2fac363f8aed4ba41cf0 (diff) |
Fix (unreported) bloody modifiers messing with ID user count in copy.
User count of IDs is handled by higher-level, generic function,
low-level copydata functions *MUST NOT* touch them anymore, ever!
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshsequencecache.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_meshsequencecache.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshsequencecache.c b/source/blender/modifiers/intern/MOD_meshsequencecache.c index e0da66a1734..af3039c50da 100644 --- a/source/blender/modifiers/intern/MOD_meshsequencecache.c +++ b/source/blender/modifiers/intern/MOD_meshsequencecache.c @@ -65,9 +65,6 @@ static void copyData(const ModifierData *md, ModifierData *target) modifier_copyData_generic(md, target); - if (tmcmd->cache_file) { - id_us_plus(&tmcmd->cache_file->id); - } tmcmd->reader = NULL; } |