mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge commit godotengine/godot@428a762e98
This commit is contained in:
@@ -2086,6 +2086,10 @@ void RuntimeNodeSelect::_update_selection() {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!ci->is_inside_tree()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Transform2D xform;
|
||||
// Cameras (overridden or not) don't affect `CanvasLayer`s.
|
||||
if (root->is_canvas_transform_override_enabled() && !(ci->get_canvas_layer_node() && !ci->get_canvas_layer_node()->is_following_viewport())) {
|
||||
@@ -2134,6 +2138,10 @@ void RuntimeNodeSelect::_update_selection() {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!node_3d->is_inside_tree()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Fallback.
|
||||
AABB bounds(Vector3(-0.5, -0.5, -0.5), Vector3(1, 1, 1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user