How to detect when Select and Move are changed to Select and Rotate?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 06 June 2013   #1
How to detect when Select and Move are changed to Select and Rotate?

When user pres the Select and Move, Select and Rotate and Select and Scale buttons , sometimes the MAX changes the Ref.Coord.System. For Example if I am in Select and Move mode and my ref.coord.sys is #view, then I go to Select and Rotate mode and change the ref.coord.sys to #world, then I go to Select and Scale mode and change the ref.coord.sys to #local.

Now, if I go to Select and Move mode the max will change the ref.coord.sys from #local to #view.

How can I detect when the Select and Move, Select and Rotate and Select and Scale modes are changed(no matter if the buttons are pressed or a hotkeys are used)?

I checked the callbacks, but did not found a solution.

I can use a timer, but is there another way to get notification when the modes are changed?
 
Old 06 June 2013   #2
General Event Callback #spacemodeChange
 
Old 06 June 2013   #3
Thank you.
 
Old 06 June 2013   #4
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:31 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.