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:
authorJeroen Bakker <jeroen@blender.org>2021-03-08 10:47:22 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-08 10:47:22 +0300
commitcbf033c05519ffa977693a5f6845b476017af08b (patch)
treeb734390cd622b72fd7d4d8dd37a5fcae3a0f54eb /source/blender/blenloader/intern/versioning_290.c
parent89757f918cfa9e087f1a55f7c94688a1f623b612 (diff)
Fix T86026: Crash Opening Cryptomatte File.
But this time the root cause. Writing undo files is done in a separate thread. This patch moved the updating of the matte_id when the user actually changes the matte.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_290.c')
-rw-r--r--source/blender/blenloader/intern/versioning_290.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c
index 5c8e9da41c4..1aa1f0302e3 100644
--- a/source/blender/blenloader/intern/versioning_290.c
+++ b/source/blender/blenloader/intern/versioning_290.c
@@ -1469,7 +1469,6 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain)
continue;
}
BKE_cryptomatte_matte_id_to_entries(storage, storage->matte_id);
- MEM_SAFE_FREE(storage->matte_id);
}
}
}