mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Forgot to add SceneTreeDock::set_selected change in last PR
This commit is contained in:
parent
ecea1f34d3
commit
0eed04904c
@ -1038,9 +1038,9 @@ void SceneTreeDock::set_edited_scene(Node* p_scene) {
|
||||
edited_scene=p_scene;
|
||||
}
|
||||
|
||||
void SceneTreeDock::set_selected(Node *p_node) {
|
||||
void SceneTreeDock::set_selected(Node *p_node, bool p_emit_selected ) {
|
||||
|
||||
scene_tree->set_selected(p_node,false);
|
||||
scene_tree->set_selected(p_node,p_emit_selected);
|
||||
_update_tool_buttons();
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,7 @@ public:
|
||||
void import_subscene();
|
||||
void set_edited_scene(Node* p_scene);
|
||||
Node* instance(const String& p_path);
|
||||
void set_selected(Node *p_node);
|
||||
void set_selected(Node *p_node, bool p_emit_selected=false);
|
||||
void fill_path_renames(Node* p_node, Node *p_new_parent, List<Pair<NodePath,NodePath> > *p_renames);
|
||||
void perform_node_renames(Node* p_base,List<Pair<NodePath,NodePath> > *p_renames, Map<Ref<Animation>, Set<int> > *r_rem_anims=NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user