Skip to content

Add multiselect to asset dock#739

Draft
aidandavey wants to merge 1 commit intoTokisanGames:mainfrom
aidandavey:AssetDock-multi-select
Draft

Add multiselect to asset dock#739
aidandavey wants to merge 1 commit intoTokisanGames:mainfrom
aidandavey:AssetDock-multi-select

Conversation

@aidandavey
Copy link
Copy Markdown
Contributor

Allows selection of multiple mesh assets in the dock for instancing or removal.

Always keeps at least one asset selected.

Click tile to select/deselect

image

@Xtarsia
Copy link
Copy Markdown
Collaborator

Xtarsia commented Jun 25, 2025

Theres a few issues testing this:

Having more than 1 mesh asset, and then trying to remove the last asset when not currently selected, forces it to be selected. Which then causes errors when painting assets.

Having CrystalC as asset ID 0, Rock A as ID 1, have both selected, then add a 3rd asset, Rock B, causes ID 0 to render as Rock B, along with the thumbnail to swap to Rock B, even though CrystalC is still the chosen Scene file in the inspector.
Saving and reloading didnt restore the rendered meshes to the correct state, even though the Scene file for ID0 was still showing as CrystalC.
Re-loading CrystalC for ID0 results in ID2 becoming CrystalC.
This issue seemed to only get worse as the number of meshes inceased.

When it did work, it was nice to use, I can see it being very useful!

@aidandavey aidandavey force-pushed the AssetDock-multi-select branch 2 times, most recently from e02f0f7 to ceed9fc Compare June 26, 2025 21:29
@TokisanGames TokisanGames added this to the 1.1 milestone Jun 27, 2025
@TokisanGames TokisanGames added the enhancement New feature or request label Jun 27, 2025
@aidandavey aidandavey force-pushed the AssetDock-multi-select branch 2 times, most recently from b613a8a to 6297904 Compare June 28, 2025 20:56
@aidandavey
Copy link
Copy Markdown
Contributor Author

Theres a few issues testing this:

Having more than 1 mesh asset, and then trying to remove the last asset when not currently selected, forces it to be selected. Which then causes errors when painting assets.

Having CrystalC as asset ID 0, Rock A as ID 1, have both selected, then add a 3rd asset, Rock B, causes ID 0 to render as Rock B, along with the thumbnail to swap to Rock B, even though CrystalC is still the chosen Scene file in the inspector. Saving and reloading didnt restore the rendered meshes to the correct state, even though the Scene file for ID0 was still showing as CrystalC. Re-loading CrystalC for ID0 results in ID2 becoming CrystalC. This issue seemed to only get worse as the number of meshes inceased.

When it did work, it was nice to use, I can see it being very useful!

Both of these issues have now been addressed, thanks!

@aidandavey aidandavey force-pushed the AssetDock-multi-select branch from f927c92 to a9ce529 Compare June 28, 2025 21:05
@TokisanGames TokisanGames marked this pull request as draft November 19, 2025 12:00
@TokisanGames TokisanGames moved this to In Progress in Terrain3D Roadmap Dec 6, 2025
@TokisanGames TokisanGames moved this from In Progress to 1.2 in Terrain3D Roadmap Dec 7, 2025
@TokisanGames TokisanGames modified the milestones: 1.1, 1.2 Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request usability UI

Projects

Development

Successfully merging this pull request may close these issues.

3 participants