diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-01 19:59:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 19:59:17 +0100 |
commit | 3f9a6011fea84a7de3308b8bfd7056827b5eae7d (patch) | |
tree | 5a34c2093eb596edee478e8684e245afef1ea6b7 | |
parent | 3827b4ffdf6fb74d6e2898a169baae4da00dc5da (diff) | |
parent | ffa4a0280826cdb5561cde85988182540594f437 (diff) |
Merge pull request #58632 from IgorKordiukiewicz/camera-preview-toggle-crash
Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.h b/editor/plugins/node_3d_editor_plugin.h index 48423d1c83..5c0bfab34e 100644 --- a/editor/plugins/node_3d_editor_plugin.h +++ b/editor/plugins/node_3d_editor_plugin.h @@ -378,7 +378,7 @@ private: Node3DEditor *spatial_editor; Camera3D *previewing; - Camera3D *preview; + Camera3D *preview = nullptr; bool previewing_cinema; bool _is_node_locked(const Node *p_node); |