[Bf-blender-cvs] [3e25c78710d] temp-T78835: Sequencer: Add session UUID field to the Sequence

Sergey Sharybin noreply at git.blender.org
Thu Jul 30 15:44:36 CEST 2020


Commit: 3e25c78710d2f159b3fed1294f9b0576735506c9
Author: Sergey Sharybin
Date:   Thu Jul 30 11:42:04 2020 +0200
Branches: temp-T78835
https://developer.blender.org/rB3e25c78710d2f159b3fed1294f9b0576735506c9

Sequencer: Add session UUID field to the Sequence

===================================================================

M	source/blender/makesdna/DNA_sequence_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index 9fee839f979..798bc20a71e 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -34,6 +34,7 @@
 #include "DNA_color_types.h"
 #include "DNA_defs.h"
 #include "DNA_listBase.h"
+#include "DNA_session_uuid_types.h"
 #include "DNA_vec_types.h"
 #include "DNA_vfont_types.h"
 
@@ -119,6 +120,10 @@ typedef struct Strip {
   ColorManagedColorspaceSettings colorspace_settings;
 } Strip;
 
+typedef struct SequenceRuntime {
+  SessionUUID session_uuid;
+} SequenceRuntime;
+
 /**
  * The sequence structure is the basic struct used by any strip.
  * each of the strips uses a different sequence structure.
@@ -237,6 +242,10 @@ typedef struct Sequence {
   int cache_flag;
   int _pad2[3];
 
+  SequenceRuntime runtime;
+
+  /* NOTE: Technically this is a runtime data as well, but it is aimed to be removed once the
+   * UUID is in place. */
   struct Sequence *orig_sequence;
   void *_pad3;
 } Sequence;



More information about the Bf-blender-cvs mailing list