yar
September 3, 2023, 2:59pm
1
I’ve been trying to make “radio-selectable” with ImGui and encountered an interesting problem - what if it were possible to convert Channel with Spread to Spread of Channels on the fly?
I still don’t understand how I can do this trick without this feature.
gregsn
September 20, 2023, 11:10pm
2
newest preview build allows to use Select (ByPath)
to do just that.
this patch shows yet another way to do it:
Selectables.vl (26.3 KB)
We might add this SetSlice (Channel)
to the CoreLib as well later on.
2 Likes
yar
September 25, 2023, 9:02am
3
Thanks!
I was able to do what I had in mind like this
There is a feeling that the solution lacks a bit of elegance.
SelectablesRadio.vl (28.9 KB)
gregsn
September 25, 2023, 10:52am
4
What’s that merge for? What exactly is it that my solution was lacking?
yar
September 26, 2023, 9:14am
5
Hey, I apologize for the misunderstanding. I was talking about my solution. Your solution is awesome!
Look at what I’m trying to do.
I’m trying to make it so that only one of the selected objects can be selected at a time.