blob: 38fb8e81cc399227335675f9cb10055eeffe20c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2019 Blender Foundation. All rights reserved. */
/** \file
* \ingroup depsgraph
*/
#pragma once
#include "DNA_session_uuid_types.h"
#include "BLI_session_uuid.h"
#include "intern/depsgraph_type.h"
#include "intern/eval/deg_eval_runtime_backup_sequence.h"
struct Scene;
namespace blender::deg {
struct Depsgraph;
/* Backup of sequencer strips runtime data. */
class SequencerBackup {
public:
SequencerBackup(const Depsgraph *depsgraph);
void init_from_scene(Scene *scene);
void restore_to_scene(Scene *scene);
const Depsgraph *depsgraph;
Map<SessionUUID, SequenceBackup> sequences_backup;
};
} // namespace blender::deg
|