Keep focus on the top-most node for multi-selection in scene tree

Makes behavior consistent with selecting/deselecting single nodes and fixes a regression about the focused node being lost when multi-selecting.

Fixes #33332
This commit is contained in:
PouleyKetchoupp 2019-11-10 09:37:51 +01:00
parent 94f00eb6c5
commit 824bc3fed8
3 changed files with 36 additions and 8 deletions

View file

@ -54,6 +54,9 @@ public:
void clear_nodes();
void add_node(const NodePath &p_node);
int get_node_count() const;
NodePath get_node(int p_index) const;
void set_property_field(const StringName &p_property, const Variant &p_value, const String &p_field);
MultiNodeEdit();