Skip to content

Conversation

@smix8
Copy link
Contributor

@smix8 smix8 commented Nov 2, 2025

Adds GridMap item categories and category tree view.

gridmap_categories

How does it work?

MeshLibrary has a new item property category and related setgets set_item_category() and get_item_category().

category_prop

This string is used to create the new category tree view.

If the value is left empty (default) the item will be added to the default "All" tree root item.

A category string can include "/" as a delimiter. This delimiter splits the string and turns the splits into tree sub categories.

For a quick overview how many items exist in a category the number of the available items in each category is shown to the right of the item tree view in the secondary column.

The search box was updated to filter for both item names and item categories.

MeshLibrary scene exporter

The MeshLibrary scene exporter now reads the node metadata of each exported MeshInstance3D node.

node_metadata

If it finds a category key with String(Name) value this string will be added as the category for the exported item.

@smix8 smix8 requested review from a team as code owners November 2, 2025 20:33
@smix8 smix8 added this to the 4.6 milestone Nov 2, 2025
@smix8 smix8 force-pushed the gridmap_categories branch 2 times, most recently from 1a98c51 to e9abeb8 Compare November 2, 2025 20:47
Adds GridMap item categories.
@smix8 smix8 force-pushed the gridmap_categories branch from e9abeb8 to c553033 Compare November 3, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants