diff options
| author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-11-24 10:12:55 +0100 |
|---|---|---|
| committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-12-02 16:09:11 +0100 |
| commit | e1811b689b6854668ca690831df8603820b68573 (patch) | |
| tree | b13641bf9a704ec71f8ac90f3dd8d41a1174ae04 /editor/plugins/shader_editor_plugin.cpp | |
| parent | d1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff) | |
| download | redot-engine-e1811b689b6854668ca690831df8603820b68573.tar.gz | |
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'editor/plugins/shader_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/shader_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index 5b0e1ce5b5..6e174653f6 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -714,6 +714,8 @@ ShaderEditorPlugin::ShaderEditorPlugin(EditorNode *p_node) { shader_editor->set_custom_minimum_size(Size2(0, 300) * EDSCALE); button = editor->add_bottom_panel_item(TTR("Shader"), shader_editor); button->hide(); + + _2d = false; } ShaderEditorPlugin::~ShaderEditorPlugin() { |
