Wings 3D Development Forum

Full Version: Any way to discover current #st{selmode=Mode} ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any way to discover current #st{selmode=Mode} ?

When constructing a menu for say ...


menu({select}, Menu) ->

In the interest of full disclosure ... I had been "CHEATING" by looking at what items were in the full menu ... and branching on Strings like ...

"All Faces" or "All Objects"


Which is obviously not great style at all ... but seems better than having a Select / LotsMore / .....

That was loaded with selectors for all modes.

It looks a bit like I'm supposed to now enable vs disable items on my menu ... but that would still leave as a long menu.

Any ideas ?
Top window menus should not be dependent on #st{} at all anymore, I have removed that possibility
since works so bad on ubuntu linux with mac'ish top menus. It's just a lot of code to do stuff that
no one else uses and makes stuff confusing to the user.