Godot-proposals: Allow "Make Scene Root" on an instanced scene to make the scene inherited

Created on 26 Jun 2020  路  2Comments  路  Source: godotengine/godot-proposals

Describe the project you are working on:
Reaction game
Describe the problem or limitation you are having in your project:
I have a scene and the root node is a StaticBody2D. One child of it is an instance. When I right click on this instance and click Make Scene Root, an alert pops up and says "Instantiated Scenes can't become root" but making a new scene whose root is the same instance, it works.
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
The popup would be removed and making a childinstance to the root would work exactly how it works when creating a new scene with an instance as root.
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:

If this enhancement will not be used often, can it be worked around with a few lines of script?:
No, it's core
Is there a reason why this should be core and not an add-on in the asset library?:
Yes, you can also say it's a bug.

editor

Most helpful comment

making a new scene whose root is the same instance, it works.

The scene with instance as root is an "inherited scene". Instead of removing the dialog, we could be given option to either discard the instancing and make the node root or keep instancing and make the scene inherited.

That said, it's not a bug.

All 2 comments

@Calinou this should probably be an issue rather than a proposal, yea?

making a new scene whose root is the same instance, it works.

The scene with instance as root is an "inherited scene". Instead of removing the dialog, we could be given option to either discard the instancing and make the node root or keep instancing and make the scene inherited.

That said, it's not a bug.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lupoDharkael picture lupoDharkael  路  3Comments

SpyrexDE picture SpyrexDE  路  3Comments

rainlizard picture rainlizard  路  3Comments

wijat picture wijat  路  3Comments

WilliamTambellini picture WilliamTambellini  路  3Comments