[Bf-python] IPO patch posted

Ken Hughes khughes at pacific.edu
Thu Jun 23 23:26:51 CEST 2005


As a small starting point on the Ipo/Curve refactoring, I've posted
a simple patch on the patch tracker which lets makes this code

   ipo = Blender.Get.Ipo('ObIpo')
   print ipo.getNCurves()
   c1 = ipo.getCurve('LocX')
   c2 = ipo.addCurve('LocY')

becomes

   ipo = Blender.Get.Ipo('ObIpo')
   print len(ipo)
   c1 = ipo['LocX']
   c2 = ipo.append('LocY')

Unfortunately I posted it under the "None" category (can someone move
it to the right place?).

https://projects.blender.org/tracker/index.php?func=detail&aid=2782&group_id=9&atid=127

Ken



More information about the Bf-python mailing list