From 728696697174e70bca49e6fd806ffabd20eb728f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Sun, 19 Nov 2017 13:57:30 +0100 Subject: [PATCH] Remove out-of-logic assignment of instance's original scene --- scene/main/node.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 2bf45f11893..f1a9b899fa6 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 plist; get_property_list(&plist);