Blender V5.3
deg_eval_runtime_backup_scene.cc
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
10
11#include "BKE_scene_runtime.hh"
12#include "BKE_sound.hh"
13
14#include "DNA_rigidbody_types.h"
15#include "DNA_scene_types.h"
16
17namespace blender::deg {
18
20{
21 reset();
22}
23
25{
26 audio_runtime = {};
28}
29
31{
33
34 if (scene->rigidbody_world != nullptr) {
36 }
37
38 audio_runtime = std::move(scene->runtime->audio);
39 scene->runtime->audio = {};
40
42}
43
45{
46 scene->runtime->audio = std::move(audio_runtime);
47
48 if (scene->rigidbody_world != nullptr) {
50 }
51
53
55
56 reset();
57}
58
59} // namespace blender::deg
Types and defines for representing Rigid Body entities.
SceneBackup(const Depsgraph *depsgraph)
bke::SceneRuntime * runtime
struct RigidBodyWorld * rigidbody_world