I think your ascii art is slowing the script down... j/k At first glance, this script doesn't appear to be doing much heavy work as it is. What specific area is not performing well for you?
As a side note, sometimes its hard to follow the code when you regularly shadow python built-ins as local variable names. Such as range, min, max... I will be thinking "How is is using range like this...oh wait...its just a list." Thats unrelated information though :-) On Wed, Jul 11, 2012 at 10:16 AM, Jonas Avrin <[email protected]> wrote: > http://pastebin.com/mF77f95a > > I have this script that acts like maya's autoFit function where it fits > curves automatically in the graph editor except this respects a frame range > argument and built in controls to turn on and off by the user. Any ideas > on how to make this faster? > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
