Notifications
Clear all

[Closed] How to notice a change in transform locks?

 S-S

Like the title says. I have tried to make a script which changes transform locks from a separate floating window. When i run the script, it reads transform lock info from the selected object. Then, whenever i click floater lock checkboxes, my transform locks update in selected objects.
What i would like to do, is to be able to update transform lock info in my floater, whenever i change something in the hierarchy panel
I have done similar thing for skin modifier, a UI which replaces skin modifier completely – if you click a button in floater it updates selected skin modifier and likewise, floater gets updated when i click modify panel items.

The problem now seems to be, that so far i have used:

when myObj parameters change do
(

But seems like changing transform lock is not a parameter thing… i also tried other options of change handler, like the controller, but maybe this has to be done in some other way? Any ideas?