mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Eliminate interior mutability in get_selected_node_list.
This commit is contained in:
@@ -1329,7 +1329,7 @@ TypedArray<Node> EditorSelection::get_selected_nodes() {
|
||||
return ret;
|
||||
}
|
||||
|
||||
List<Node *> &EditorSelection::get_selected_node_list() {
|
||||
const List<Node *> &EditorSelection::get_selected_node_list() {
|
||||
if (changed) {
|
||||
update();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user