You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix visual shader not being updated when switching tabs
This commit is contained in:
@@ -1545,6 +1545,12 @@ void VisualShaderEditor::edit(VisualShader *p_visual_shader) {
|
||||
}
|
||||
}
|
||||
|
||||
void VisualShaderEditor::validate_script() {
|
||||
if (visual_shader.is_valid()) {
|
||||
_update_nodes();
|
||||
}
|
||||
}
|
||||
|
||||
void VisualShaderEditor::add_plugin(const Ref<VisualShaderNodePlugin> &p_plugin) {
|
||||
if (plugins.has(p_plugin)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user