summaryrefslogtreecommitdiff
path: root/editor/plugins/visual_shader_editor_plugin.h
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2023-01-12 14:55:13 +0300
committerGitHub <noreply@github.com>2023-01-12 14:55:13 +0300
commitcaf94f244e1a952300c6426f5d7d9939dd93d472 (patch)
treeb6a558472e3856addd1db1b3895be04ea8d43fa7 /editor/plugins/visual_shader_editor_plugin.h
parenta5dedfe2609f22bbf497efd1ef457ba8487ce7c8 (diff)
parentfcbe7c1c2b43efc450abecdc1c07fe2547ed1e4f (diff)
Merge pull request #71267 from Chaosus/vs_fix_paramref_crash
Fix https://github.com/godotengine/godot/issues/70545
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.h')
-rw-r--r--editor/plugins/visual_shader_editor_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.h b/editor/plugins/visual_shader_editor_plugin.h
index a43d44473f..88f5e3359c 100644
--- a/editor/plugins/visual_shader_editor_plugin.h
+++ b/editor/plugins/visual_shader_editor_plugin.h
@@ -119,8 +119,8 @@ public:
void make_dirty(bool p_enabled);
void update_node(VisualShader::Type p_type, int p_id);
void update_node_deferred(VisualShader::Type p_type, int p_node_id);
- void add_node(VisualShader::Type p_type, int p_id);
- void remove_node(VisualShader::Type p_type, int p_id);
+ void add_node(VisualShader::Type p_type, int p_id, bool p_just_update);
+ void remove_node(VisualShader::Type p_type, int p_id, bool p_just_update);
void connect_nodes(VisualShader::Type p_type, int p_from_node, int p_from_port, int p_to_node, int p_to_port);
void disconnect_nodes(VisualShader::Type p_type, int p_from_node, int p_from_port, int p_to_node, int p_to_port);
void show_port_preview(VisualShader::Type p_type, int p_node_id, int p_port_id);