Differential D8433 Diff 27307 source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_sequencer.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_sequencer.h
| Show All 17 Lines | |||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup depsgraph | * \ingroup depsgraph | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "DNA_session_uuid_types.h" | |||||
| #include "BLI_session_uuid.h" | |||||
| #include "intern/depsgraph_type.h" | #include "intern/depsgraph_type.h" | ||||
| #include "intern/eval/deg_eval_runtime_backup_sequence.h" | #include "intern/eval/deg_eval_runtime_backup_sequence.h" | ||||
| struct Scene; | struct Scene; | ||||
| namespace blender { | namespace blender { | ||||
| namespace deg { | namespace deg { | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| /* Backup of sequencer strips runtime data. */ | /* Backup of sequencer strips runtime data. */ | ||||
| class SequencerBackup { | class SequencerBackup { | ||||
| public: | public: | ||||
| SequencerBackup(const Depsgraph *depsgraph); | SequencerBackup(const Depsgraph *depsgraph); | ||||
| void init_from_scene(Scene *scene); | void init_from_scene(Scene *scene); | ||||
| void restore_to_scene(Scene *scene); | void restore_to_scene(Scene *scene); | ||||
| const Depsgraph *depsgraph; | const Depsgraph *depsgraph; | ||||
| Map<Sequence *, SequenceBackup> sequences_backup; | Map<SessionUUID, SequenceBackup> sequences_backup; | ||||
| }; | }; | ||||
| } // namespace deg | } // namespace deg | ||||
| } // namespace blender | } // namespace blender | ||||