Restore period in loaded node paths
This commit is contained in:
@@ -204,6 +204,7 @@ Ref<PackedScene> ResourceLoaderText::_parse_node_tag(VariantParser::ResourcePars
|
|||||||
|
|
||||||
if (next_tag.fields.has("parent")) {
|
if (next_tag.fields.has("parent")) {
|
||||||
NodePath np = next_tag.fields["parent"];
|
NodePath np = next_tag.fields["parent"];
|
||||||
|
np.prepend_period();
|
||||||
PackedInt32Array np_id;
|
PackedInt32Array np_id;
|
||||||
if (next_tag.fields.has("parent_id_path")) {
|
if (next_tag.fields.has("parent_id_path")) {
|
||||||
np_id = next_tag.fields["parent_id_path"];
|
np_id = next_tag.fields["parent_id_path"];
|
||||||
|
|||||||
Reference in New Issue
Block a user