Fix "selection_changed" called twice
This commit is contained in:
parent
e96c40f94a
commit
59564f267c
2 changed files with 13 additions and 1 deletions
|
|
@ -209,9 +209,10 @@ class EditorSelection : public Object {
|
|||
|
||||
GDCLASS(EditorSelection, Object);
|
||||
|
||||
public:
|
||||
private:
|
||||
Map<Node *, Object *> selection;
|
||||
|
||||
bool emitted;
|
||||
bool changed;
|
||||
bool nl_changed;
|
||||
|
||||
|
|
@ -223,6 +224,7 @@ public:
|
|||
void _update_nl();
|
||||
Array _get_selected_nodes();
|
||||
Array _get_transformable_selected_nodes();
|
||||
void _emit_change();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue