1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Remove out-of-logic assignment of instance's original scene

This commit is contained in:
Pedro J. Estébanez
2017-11-19 13:57:30 +01:00
parent 1552dbfb21
commit 7286966971

View File

@@ -2099,10 +2099,6 @@ Node *Node::_duplicate(int p_flags) const {
ERR_FAIL_COND_V(!node, NULL); ERR_FAIL_COND_V(!node, NULL);
} }
if (get_filename() != "") { //an instance
node->set_filename(get_filename());
}
List<PropertyInfo> plist; List<PropertyInfo> plist;
get_property_list(&plist); get_property_list(&plist);