Skip to content

Commit 0eed049

Browse files
committed
Forgot to add SceneTreeDock::set_selected change in last PR
1 parent ecea1f3 commit 0eed049

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/editor/scene_tree_dock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,9 @@ void SceneTreeDock::set_edited_scene(Node* p_scene) {
10381038
edited_scene=p_scene;
10391039
}
10401040

1041-
void SceneTreeDock::set_selected(Node *p_node) {
1041+
void SceneTreeDock::set_selected(Node *p_node, bool p_emit_selected ) {
10421042

1043-
scene_tree->set_selected(p_node,false);
1043+
scene_tree->set_selected(p_node,p_emit_selected);
10441044
_update_tool_buttons();
10451045
}
10461046

tools/editor/scene_tree_dock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class SceneTreeDock : public VBoxContainer {
127127
void import_subscene();
128128
void set_edited_scene(Node* p_scene);
129129
Node* instance(const String& p_path);
130-
void set_selected(Node *p_node);
130+
void set_selected(Node *p_node, bool p_emit_selected=false);
131131
void fill_path_renames(Node* p_node, Node *p_new_parent, List<Pair<NodePath,NodePath> > *p_renames);
132132
void perform_node_renames(Node* p_base,List<Pair<NodePath,NodePath> > *p_renames, Map<Ref<Animation>, Set<int> > *r_rem_anims=NULL);
133133

0 commit comments

Comments
 (0)