diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-02-26 10:08:17 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-02-26 10:08:17 -0300 |
commit | ed6d9463d264d0983f75c2dc93191c8526e9115b (patch) | |
tree | 3518ba92d9e4fa5b5d36e7272faa3faa01f908c7 /scene/main/node.cpp | |
parent | b2ce682f6ed9493423be257a5b2e87126692a94f (diff) |
-Added ATITC texture support
-Fixed bug of some tabs showing wrong names
-Exported properties for viewport
Diffstat (limited to 'scene/main/node.cpp')
-rw-r--r-- | scene/main/node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 5ac09e837f..9b592a77d5 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -552,6 +552,8 @@ void Node::_validate_child_name(Node *p_child) { int cc = data.children.size(); for(int i=0;i<cc;i++) { + if (childs[i]==p_child) + continue; if (childs[i]->data.name==p_child->data.name) { unique=false; break; |