Merge pull request #78816 from kleonc/scene-tree-fix-drag-drop-to-parent-with-internal-nodes
Fix drag-dropping nodes to parent with internal nodes
This commit is contained in:
commit
c081d1bd24
3 changed files with 37 additions and 17 deletions
|
|
@ -1347,6 +1347,10 @@ void Node::_generate_serial_child_name(const Node *p_child, StringName &name) co
|
|||
}
|
||||
}
|
||||
|
||||
Node::InternalMode Node::get_internal_mode() const {
|
||||
return data.internal_mode;
|
||||
}
|
||||
|
||||
void Node::_add_child_nocheck(Node *p_child, const StringName &p_name, InternalMode p_internal_mode) {
|
||||
//add a child node quickly, without name validation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue