summaryrefslogtreecommitdiffstats
path: root/editor/plugins/visual_shader_editor_plugin.h
diff options
context:
space:
mode:
authorChaosus <chaosus89@gmail.com>2018-07-15 10:23:59 +0300
committerChaosus <chaosus89@gmail.com>2018-07-15 10:33:11 +0300
commitf8417ac6829fa00e9168cdca8c5ea9aa1ede1ad4 (patch)
tree7b379a2176209423b2d7cf31087d45b6d395ff82 /editor/plugins/visual_shader_editor_plugin.h
parentf6ce73f7245fe9cc06d942ac4c8cec44a7252c5c (diff)
downloadredot-engine-f8417ac6829fa00e9168cdca8c5ea9aa1ede1ad4.tar.gz
Visual shaders - make "Add node" menu showed by right click
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.h')
-rw-r--r--editor/plugins/visual_shader_editor_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.h b/editor/plugins/visual_shader_editor_plugin.h
index f89d073dde..f86374ff6b 100644
--- a/editor/plugins/visual_shader_editor_plugin.h
+++ b/editor/plugins/visual_shader_editor_plugin.h
@@ -94,6 +94,7 @@ class VisualShaderEditor : public VBoxContainer {
void _input_select_item(Ref<VisualShaderNodeInput> input, String name);
void _preview_select_port(int p_node, int p_port);
+ void _input(const Ref<InputEvent> p_event);
protected:
void _notification(int p_what);