1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

-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.
This commit is contained in:
Juan Linietsky
2019-02-23 17:52:49 -03:00
parent 07fbc34195
commit fd68bb2596
3 changed files with 16 additions and 6 deletions

View File

@@ -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();
}