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

Implement detection and refactoring of removed MeshLibrary items in GridMap #3523

Open
Dente222 opened this issue Nov 10, 2021 · 0 comments
Open

Comments

@Dente222
Copy link

Describe the project you are working on

Currently working on 3D adventure and I'm using Grid map that uses my models to make maps for it

Describe the problem or limitation you are having in your project

Currently, it's not possible to remove any mesh from Mesh Library which makes it very annoying and hard to work with...
For example, imagine that you are working on a HUGE map and using Grid maps than by accident you made a duplicated model that removes another important model, now you can't remove it unless you REDO whole Meshlib asset and replace it and this was usually it, not much to argue about it since it was like 1min work to replace the whole Meshlib.

Problem is that with new updates all the Array ID's in the mesh library is reformated so if you replace Meshlib in the grid map with exactly the same one but made recently then you have to make the whole map from scratch because ID's are different and wrong models are in wrong places.......

Example Images
Map Before Replacement:
https://i.imgur.com/E29zB5O.png

Map After replacing MeshLib:
https://i.imgur.com/2aySKMb.png

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

Add option to remove and reformate Meshlib without breking Gridmap or dont change ID's in it.

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

Reformat could work in a way where Grid map will compare the names of models in MeshLib to keep them at the same place

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

Yes...
Don't change Meshlib ID's or make auto updater for that

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

Default tool should have a function for that from the begining...

@Calinou Calinou changed the title Option to remove Mesh instance from Mesh Library/Grid map WITHOUT Braking it Implement detection and refactoring of removed MeshLibrary items in GridMap Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants