mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Fix custom visual shader nodes not being loaded at startup
This commit is contained in:
parent
cd3d6e63a6
commit
a973ddd28d
@ -1113,6 +1113,8 @@ void VisualShaderEditor::edit(VisualShader *p_visual_shader) {
|
||||
}
|
||||
visual_shader->set_graph_offset(graph->get_scroll_ofs() / EDSCALE);
|
||||
_set_mode(visual_shader->get_mode());
|
||||
|
||||
_update_nodes();
|
||||
} else {
|
||||
if (visual_shader.is_valid()) {
|
||||
Callable ce = callable_mp(this, &VisualShaderEditor::_update_preview);
|
||||
|
Loading…
Reference in New Issue
Block a user