+1 vote

Is it possible to make scene instance local or "editable children" through tool?

I found a solution like this:

node.filename=''
node.owner=get_tree().get_edited_scene_root()

But it doesn't work for me.

I also tried to call the scene.instance(GenEditState.GEN_EDIT_STATE_INSTANCE) to make this instance local. Because the method description says: "If passed to instance(), provides local scene resources to the local scene." But that also didn’t work.

Although changes appear in the editor before the first restart of the project. But when the game starts, all children return to their default state.

Godot version v3.3.1
in Engine by (27 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.