mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
07fbc34195
commit
fd68bb2596
3 changed files with 16 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue