Ha, I know, I got creative today with the ascii ;) Well, it's slow during the graph editor update process. I will change the vars to not use built in names. It's just that they are simpler, but I know I really shouldn't be using them.
On Wednesday, July 11, 2012 1:44:39 PM UTC-4, Justin Israel wrote: > > 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
