Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to open a scene that is stored in an export(PackedScene) field from the inspector #3338

Closed
PLyczkowski opened this issue Sep 23, 2021 · 1 comment · Fixed by godotengine/godot#69938
Milestone

Comments

@PLyczkowski
Copy link

Describe the project you are working on

RPG with items.

Describe the problem or limitation you are having in your project

I'm currently storing game item scenes in a database scene, that is generated via a custom plugin, so I can have an overview of all the items. They are saved via export(PackedScene) in nodes.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

It would be handy if there was a possibility to open the scene stored in export(PackedScene) field from the inspector. Currently you can only load in a new scene there, edit (which does not open), clear, make unique and save. There is also show in filesystem, from where you can open the scene, which is an ok workaround, but not ideal.

image

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Just an Open entry in the context menu would be fine.

Additional double clicking to open would also amazing, but currently activates editing like that:

image

If this enhancement will not be used often, can it be worked around with a few lines of script?

Core.

Is there a reason why this should be core and not an add-on in the asset library?

It's the inspector.

@YuriSizov
Copy link
Contributor

It's the inspector.

Yes, and we have inspector plugin API. It's very much possible to create a small plugin that adds an open scene button for PackedScenes.

That said, I am not opposed to having it in the core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Implemented
Development

Successfully merging a pull request may close this issue.

3 participants