Blender V5.3
deg_eval_runtime_backup_animation.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "RNA_path.hh"
12
13#include "BLI_vector.hh"
14
15namespace blender {
16
17struct ID;
18
19namespace deg {
20
21struct Depsgraph;
22
38
39/* Backup of animated properties values. */
41 public:
42 AnimationBackup(const Depsgraph *depsgraph);
43
44 void reset();
45
46 void init_from_id(ID *id);
47 void restore_to_id(ID *id);
48
51};
52
53} // namespace deg
54} // namespace blender
Vector< AnimationValueBackup > values_backup
AnimationValueBackup(AnimationValueBackup &&other) noexcept=default
AnimationValueBackup & operator=(AnimationValueBackup &&other)=default
AnimationValueBackup & operator=(const AnimationValueBackup &other)=default
AnimationValueBackup(const AnimationValueBackup &other)=default
BMesh Iterators.