guillaumechereau / goxel

Goxel: Free and Open Source 3D Voxel Editor
GNU General Public License v3.0
2.82k stars 225 forks source link

Feature Request: Search layers by name, hover block to see layer #388

Open vitalash1 opened 2 months ago

vitalash1 commented 2 months ago

"Search by name" would be nice. I'd like to type a layer name and have it only show reasonable matches. goxel_WCKrNNmwmk

Also, I want to hover a block and see what layer it's on, like this: image image

vitalash1 commented 2 months ago

Edit: Layer scrolling specifically appears to be no problem; I observed something falsely. I hadn't expected the controls box including + - ^ v ... to allow itself to be clipped, but I suppose that's the way you want it.

Search by layers is still a desirable feature.

420noscope-exe commented 2 months ago

Can we also have the ability to drag and drop layers to re-order them? I just did a large project, and using ^ v was very tedious.

It would be very useful to be able to tell what layer a voxel is in just by pointing at it. I had the same thought a few days ago. This way we don't have to click every single layer to find the right set of voxels, and would allow us to double check if we mistakenly drew on the wrong layer.

PS: Scrolling seems to work fine for me on latest commit.

image

vitalash1 commented 2 months ago

Can we also have the ability to drag and drop layers to re-order them? I just did a large project, and using ^ v was very tedious.

It would be very useful to be able to tell what layer a voxel is in just by pointing at it. I had the same thought a few days ago. This way we don't have to click every single layer to find the right set of voxels, and would allow us to double check if we mistakenly drew on the wrong layer.

+1, drag and drop would be good design too.

(The scrolling was my misinterpretation of the design decisions of the UI. It clips the bottom controls but only by a bit, which made me think there was no scrolling.)

vitalash1 commented 2 months ago

If drag and drop is added, I'd hope it can be added to other interfaces like Materials. image

guillaumechereau commented 3 weeks ago

I never thought people would be using that many layers!

I'll see how to add drag and drop support, though I am not even sure imgui supports that.

guillaumechereau commented 2 weeks ago

I started to add some basic support for reordering list items by drag and drop.