diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-10-07 10:25:30 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-10-07 10:25:30 -0300 |
commit | 3cf6a6fa8cdbd69d2e36addb112ea91fe56577c4 (patch) | |
tree | 897f81ad8ca201b1f2421f2578989fc4e07a16f2 | |
parent | 0fa94a96904a8ff44d1a26fd6b783c2d6a533540 (diff) |
-One liner fix for crash, line was removed accidentally.
-rw-r--r-- | scene/resources/packed_scene.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<Node>(); + } |