summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-06 16:28:45 +0100
committerGitHub <noreply@github.com>2021-01-06 16:28:45 +0100
commita7baf013524ccd271bd123d8aef93a73b450a888 (patch)
treef6b0f142b5b9e44805b814acb69f0be656061a11 /editor/editor_node.cpp
parenta3b76e26f34b668993382e6c32b7d3afaca0259f (diff)
parentcdb216f4e4096dd45973cb9fd3b9b00d50789e35 (diff)
Merge pull request #44950 from reduz/shader-debugger
Added ability to visualize native shaders
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index ce579febfe..6f03518029 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -6519,6 +6519,9 @@ EditorNode::EditorNode() {
center_split->connect("resized", callable_mp(this, &EditorNode::_vp_resized));
+ native_shader_source_visualizer = memnew(EditorNativeShaderSourceVisualizer);
+ gui_base->add_child(native_shader_source_visualizer);
+
orphan_resources = memnew(OrphanResourcesDialog);
gui_base->add_child(orphan_resources);