diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-02-23 17:52:49 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-02-23 17:55:09 -0300 |
commit | fd68bb2596bff1990711862f90b4763553d2edac (patch) | |
tree | 24024f57e3b3697bd51316e97bccf323cf10a87b /editor | |
parent | 07fbc341951352c7d0b00bf4370dccb94449d37a (diff) |
-Treat scalar conversions when calling functions as error, closes #24261
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/shader_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index cc2e65cf6d..020a68a7ed 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -53,6 +53,7 @@ void ShaderTextEditor::set_edited_shader(const Ref<Shader> &p_shader) { get_text_edit()->set_text(p_shader->get_code()); + _validate_script(); _line_col_changed(); } |