Merge pull request #65228 from Mickeon/fix-packed-scene-unique-name-root

Fix "Save Branch as Scene" storing root Node's `unique_name_in_owner`
This commit is contained in:
Rémi Verschelde 2022-12-05 18:08:10 +01:00
commit 6ee3268189
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 27 additions and 1 deletions

View file

@ -56,6 +56,7 @@ public:
#ifdef DEBUG_ENABLED
private:
static void _save_node(ObjectID id, const String &p_path);
static void _set_node_owner_recursive(Node *p_node, Node *p_owner);
static void _set_object_property(ObjectID p_id, const String &p_property, const Variant &p_value);
static void _send_object_id(ObjectID p_id, int p_max_size = 1 << 20);