Merge pull request #58632 from IgorKordiukiewicz/camera-preview-toggle-crash

Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash
This commit is contained in:
Rémi Verschelde 2022-03-01 19:59:17 +01:00 committed by GitHub
commit 3f9a6011fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);