- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I have a question about what is really happening when you press the playback button in Maya. I have built a rig that has a few scriptJobs attached to certain controls which seem to be getting called when I press play. They should only be called when I change an attribute on a control. For example there is a finger control that calls a function to create a window GUI for saving finger positions. To activate the window function you have to select the control then change the attribute called "Save Finger Position" from off (0) to Save (1).
The weird thing after playing an animation and then stopping playback the finger GUI appears as though the control had been selected and the attribute had been changed. My question is does anybody know what is really happening during the playback function. Why would a scriptJob bound to a specific controls attribute get called when I hit the play button? If I scrub the timeline or advance frame by frame this doesn't happen.
Here is one of the scriptJobs in case it helps solve the issue :
scriptJob -attributeChange "Hailey_R_Finger_Position_ctrl.R_Save_Finger_Positions" "KC_Hailey_SaveFingerPositionsWindow()"
Solved! Go to Solution.