godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.14k stars 93 forks source link

Advanced Import Settings - Allow saving multiple meshes at once #4266

Open nonunknown opened 2 years ago

nonunknown commented 2 years ago

Describe the project you are working on

A kart racing game

Describe the problem or limitation you are having in your project

You have a 3d model with many, many meshes, so you need to save one by one or else the editor will take a long time to save scenes!

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

The enhancement proposed here will make possible to select multiple meshes at once:

image

and then save all of them in the selected folder:

image

the user can select if he wants tres or res, and also the filename will be the same name of the meshes!

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

described above.

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

nope

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

its a core feature

Calinou commented 2 years ago

@nonunknown One of your images in your proposal post failed to upload, can you try to edit the post and upload it again?

nonunknown commented 2 years ago

sorry for the mistake, solved now!

lentsius-bark commented 2 years ago

IMO this is a no brainer. It would help speed up and otherwise very tedious process. In my 3D workflow I often like to batch export objects together and then import as separate meshes, which allows me to have Mesh instances in scenes that update automatically when I re-export and re-import the model (with instanced gltf files, one has to first open it after the re-import to see the changes take effect) In other words imo exporting a batch of objects to import them as meshes is a clever technique and having the ability to batch click this and NOT have to manually input save oaths would be a serious speed up in the given workflow.