mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Merge pull request #64377 from Mickeon/rename-canvas-redraw
Rename `CanvasItem.update()` to `queue_redraw()`
This commit is contained in:
commit
ae349d8227
111 changed files with 1354 additions and 1354 deletions
|
|
@ -505,7 +505,7 @@ void SceneTreeEditor::_node_visibility_changed(Node *p_node) {
|
|||
|
||||
if (p_node->is_class("CanvasItem") || p_node->is_class("CanvasLayer") || p_node->is_class("Window")) {
|
||||
visible = p_node->call("is_visible");
|
||||
CanvasItemEditor::get_singleton()->get_viewport_control()->update();
|
||||
CanvasItemEditor::get_singleton()->get_viewport_control()->queue_redraw();
|
||||
} else if (p_node->is_class("Node3D")) {
|
||||
visible = p_node->call("is_visible");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue