Way to detect the active tool?
Posted: Sun Mar 06, 2016 9:04 pm
Is there a way to detect the active tool?
I'm trying to find a way to detect which part of the layer the user wants to manipulate: bones or the layer translation. Both can coexist and I want to find a way to figure out automatically which one the user wants to animate. I was thinking that if the user has Transform layer -tool active, he/she wants to manipulate layer data. Same with bone tool -> bone data.
If detecting the active tool isn't possible, any other ideas how to determine which one the user is working on currently? Active tool would be the easiest to use as the source.
I'm trying to find a way to detect which part of the layer the user wants to manipulate: bones or the layer translation. Both can coexist and I want to find a way to figure out automatically which one the user wants to animate. I was thinking that if the user has Transform layer -tool active, he/she wants to manipulate layer data. Same with bone tool -> bone data.
If detecting the active tool isn't possible, any other ideas how to determine which one the user is working on currently? Active tool would be the easiest to use as the source.