property remove parent owned nodes when using replace, fixes #4128
This commit is contained in:
parent
9b8f2741ae
commit
d76ee09774
3 changed files with 18 additions and 0 deletions
|
|
@ -2081,6 +2081,10 @@ void Node::update_configuration_warning() {
|
|||
|
||||
}
|
||||
|
||||
bool Node::is_owned_by_parent() const {
|
||||
data.parent_owned;
|
||||
}
|
||||
|
||||
void Node::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("_add_child_below_node","node:Node","child_node:Node","legible_unique_name"),&Node::add_child_below_node,DEFVAL(false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue