diff options
-rwxr-xr-x | scene/main/node.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 2bf45f1189..f1a9b899fa 100755 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2099,10 +2099,6 @@ Node *Node::_duplicate(int p_flags) const { ERR_FAIL_COND_V(!node, NULL); } - if (get_filename() != "") { //an instance - node->set_filename(get_filename()); - } - List<PropertyInfo> plist; get_property_list(&plist); |