diff options
| author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-06-04 12:24:08 +0300 |
|---|---|---|
| committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-08-07 21:02:13 +0300 |
| commit | 5e5cd2495d8ec8bc0685dbf3b98dc251c3c7bddb (patch) | |
| tree | 1f039810d2dc0308bde14d75afc6d6dcd971c14a /editor/plugins/visual_shader_editor_plugin.cpp | |
| parent | 3177da1d053a6132668e12a8d8af82366f5c4ac9 (diff) | |
| download | redot-engine-5e5cd2495d8ec8bc0685dbf3b98dc251c3c7bddb.tar.gz | |
Added editor dialog for easily creating shaders.
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index 452ad126b3..9a41a100bd 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -1007,6 +1007,7 @@ void VisualShaderEditor::edit(VisualShader *p_visual_shader) { const Dictionary vs_version = visual_shader->get_engine_version(); if (!vs_version.has_all(components)) { visual_shader->update_engine_version(engine_version); + print_line(vformat(TTR("The shader (\"%s\") has been updated to correspond Godot %s.%s version."), visual_shader->get_path(), engine_version["major"], engine_version["minor"])); } else { for (int i = 0; i < components.size(); i++) { if (vs_version[components[i]] != engine_version[components[i]]) { |
