• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 … 5 6 7 8 9 … 11 Next »
Any way to discover current #st{selmode=Mode} ?

 
  • 0 Vote(s) - 0 Average
Any way to discover current #st{selmode=Mode} ?

ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#1
09-17-2015, 08:09 PM
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 ?
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#2
09-21-2015, 11:11 AM
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.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode