summaryrefslogtreecommitdiff
path: root/editor/plugins/visual_shader_editor_plugin.h
diff options
context:
space:
mode:
authorYuri Roubinski <chaosus89@gmail.com>2019-08-25 08:42:21 +0300
committerYuri Roubinski <chaosus89@gmail.com>2019-08-25 08:42:21 +0300
commit7f350a2c7197fe868a653782b75d6f7ef6b81130 (patch)
treea4959b0b0d97ab06360e006ee843cd1fa5cc777e /editor/plugins/visual_shader_editor_plugin.h
parentf2777c04c3957984ac66f5c19b4b796b57ef790c (diff)
Enhanced preview for a visual shader to show errors
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.h')
-rw-r--r--editor/plugins/visual_shader_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.h b/editor/plugins/visual_shader_editor_plugin.h
index 1556c7cd43..5be214f9a9 100644
--- a/editor/plugins/visual_shader_editor_plugin.h
+++ b/editor/plugins/visual_shader_editor_plugin.h
@@ -70,7 +70,10 @@ class VisualShaderEditor : public VBoxContainer {
PanelContainer *error_panel;
Label *error_label;
+ bool shader_error;
+ VBoxContainer *preview_vbox;
TextEdit *preview_text;
+ Label *error_text;
UndoRedo *undo_redo;
Point2 saved_node_pos;