From 7f350a2c7197fe868a653782b75d6f7ef6b81130 Mon Sep 17 00:00:00 2001 From: Yuri Roubinski Date: Sun, 25 Aug 2019 08:42:21 +0300 Subject: Enhanced preview for a visual shader to show errors --- editor/plugins/visual_shader_editor_plugin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor/plugins/visual_shader_editor_plugin.h') 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; -- cgit v1.2.3