From 38d0e82a35c628b08a7450d673556fe54a015742 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 12 Feb 2025 00:51:22 +0100 Subject: [PATCH] Store _custom_type_script meta as String --- editor/editor_data.cpp | 25 +++++++++++++++---------- editor/editor_node.cpp | 2 +- editor/scene_tree_dock.cpp | 6 +++--- scene/property_utils.cpp | 28 +++++++++++++++++++++++++++- scene/property_utils.h | 3 +++ 5 files changed, 49 insertions(+), 15 deletions(-) diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index 8135a9b9664..aec082791ef 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -39,6 +39,7 @@ #include "editor/multi_node_edit.h" #include "editor/plugins/editor_context_menu_plugin.h" #include "editor/plugins/editor_plugin.h" +#include "scene/property_utils.h" #include "scene/resources/packed_scene.h" void EditorSelectionHistory::cleanup_history() { @@ -536,15 +537,18 @@ Variant EditorData::instantiate_custom_type(const String &p_type, const String & if (get_custom_types()[p_inherits][i].name == p_type) { Ref