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/makesdna/DNA_node_types.h
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/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index 8b0bc235861..82509599931 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -1070,7 +1070,8 @@ typedef struct CryptomatteEntry {
typedef struct NodeCryptomatte {
float add[3];
float remove[3];
- char *matte_id DNA_DEPRECATED;
+ /* Stores `entries` as a string for opening in 2.80-2.91. */
+ char *matte_id;
/* Contains `CryptomatteEntry`. */
ListBase entries;
int num_inputs;