Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This command line does the centering of all panels, I do not want it to be applied in graph editor.
fitPanel -selectedNoChildren;
I want to use it only in perspective and Front Side etc. cameras.
I don't want to use it in graph editor because it updates on each selection the centering. any idea how to override the command in graph editor?
global proc framesel1()
{
fitPanel -selectedNoChildren;
}
global proc framesel2()
{
select -cl;
Undo;
}
int $jobId1 = `scriptJob -ct "SomethingSelected" framesel1`;
int $jobId2 = `scriptJob -e "SelectionChanged" framesel2`;
Solved! Go to Solution.