//---------------------------------------------------------------------------------------------- // // orient joint tool // // SCRIPT: icOrientJoint.mel // // AUTHOR: Ingo Clemens // DATE: September 22, 2004 // // DESCRIPTION: This script re-adjusts the proper joint orientation, after // a joint hierarchy has been modified, to get the correct // rotation values back. The aim and up vector for the joint // can be chosen to let the joint chain rotate the right // direction. The local rotation axis can be shown for a single // joint or the entire hierarchie. // The script also respects locked attributes and hierarchie // branching. // // VERSIONS: // 1.1 - Aug. 05, 2005 // - added a branching option. The user can now decide if he wants to respect // branches in the chain. This opens up a dialogue from which the desired // joint can be chosen. By default the script will choose the immediate // joint in the chain. // // 1.0 - Sep. 22, 2004 // //----------------------------------------------------------------------------------------------