From 3cf6a6fa8cdbd69d2e36addb112ea91fe56577c4 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 7 Oct 2014 10:25:30 -0300 Subject: -One liner fix for crash, line was removed accidentally. --- scene/resources/packed_scene.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/resources/packed_scene.cpp b/scene/resources/packed_scene.cpp index 76e4aad81e..75a1b765ee 100644 --- a/scene/resources/packed_scene.cpp +++ b/scene/resources/packed_scene.cpp @@ -104,6 +104,8 @@ Node *PackedScene::instance(bool p_gen_edit_state) const { } } + node = obj->cast_to(); + } -- cgit v1.2.3