diff options
| author | Juan Linietsky | 2016-06-20 22:57:07 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-06-20 22:57:07 -0300 |
| commit | d76ee09774c546476b350c15a4197d2b9ae160dc (patch) | |
| tree | d01b955274aac8bd3bfc8480bcdad60f5d16d143 /scene/main/node.cpp | |
| parent | 9b8f2741aee4604bd7a84ac746fae58ae06a4267 (diff) | |
| download | godot-d76ee09774c546476b350c15a4197d2b9ae160dc.tar.gz godot-d76ee09774c546476b350c15a4197d2b9ae160dc.tar.zst godot-d76ee09774c546476b350c15a4197d2b9ae160dc.zip | |
Diffstat (limited to 'scene/main/node.cpp')
| -rw-r--r-- | scene/main/node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 50b0fe224..edc97cbf4 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -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)); |
