You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
This commit is contained in:
@@ -527,7 +527,7 @@ void ShaderEditorPlugin::make_visible(bool p_visible) {
|
||||
} else {
|
||||
|
||||
button->hide();
|
||||
if (shader_editor->is_visible())
|
||||
if (shader_editor->is_visible_in_tree())
|
||||
editor->hide_bottom_panel();
|
||||
shader_editor->apply_shaders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user