From cefaa6fb062e85bcdac4f0fbbd8f78e1d8726e0b Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Fri, 8 May 2020 12:43:23 +0200 Subject: [PATCH] Fixed export var default value in PackedScene when script is not loaded in editor (cherry picked from commit 4e14eefd94a4e211fb7d908fe8d74bddd5429c6f) --- scene/resources/packed_scene.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scene/resources/packed_scene.cpp b/scene/resources/packed_scene.cpp index d0a93b4555b..2d689e98098 100644 --- a/scene/resources/packed_scene.cpp +++ b/scene/resources/packed_scene.cpp @@ -481,6 +481,11 @@ Error SceneState::_parse_node(Node *p_owner, Node *p_node, int p_parent_idx, Map p_node->get_property_list(&plist); StringName type = p_node->get_class(); + Ref