diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-13 10:59:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-13 10:59:00 +0200 |
| commit | 1a16dabfb52a5f3e82afa22ee827d8ed8f17511e (patch) | |
| tree | d99eddbfc533a6ce37fde09d31f656ff31887dcb /editor/plugins/visual_shader_editor_plugin.cpp | |
| parent | 9c0cc0db63f61cd71a2a735519dc7816973e5b7e (diff) | |
| parent | 08bde5b2dea65ef3f80af5de4f4caf0e76982b64 (diff) | |
| download | redot-engine-1a16dabfb52a5f3e82afa22ee827d8ed8f17511e.tar.gz | |
Merge pull request #21982 from luzpaz/misc-typos
Misc. typos
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index cefed193ca..0d683ea0a0 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -629,7 +629,7 @@ void VisualShaderEditor::_duplicate_nodes() { int id = String(graph->get_child(i)->get_name()).to_int(); Ref<VisualShaderNode> node = visual_shader->get_node(type, id); Ref<VisualShaderNodeOutput> output = node; - if (output.is_valid()) //cant duplicate output + if (output.is_valid()) //can't duplicate output continue; if (node.is_valid()) { nodes.push_back(id); @@ -1158,7 +1158,7 @@ bool EditorInspectorShaderModePlugin::parse_property(Object *p_object, Variant:: return true; } - return false; //can be overriden, although it will most likely be last anyway + return false; //can be overridden, although it will most likely be last anyway } void EditorInspectorShaderModePlugin::parse_end() { |
