Revision: 16614 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16614 Author: ton Date: 2008-09-19 22:22:54 +0200 (Fri, 19 Sep 2008)
Log Message: ----------- Patch #17348 by Roger Wickes Fix in Bake Constraints script, better naming for new object. Modified Paths: -------------- trunk/blender/release/scripts/animation_bake_constraints.py Modified: trunk/blender/release/scripts/animation_bake_constraints.py =================================================================== --- trunk/blender/release/scripts/animation_bake_constraints.py 2008-09-19 18:53:05 UTC (rev 16613) +++ trunk/blender/release/scripts/animation_bake_constraints.py 2008-09-19 20:22:54 UTC (rev 16614) @@ -602,7 +602,7 @@ if ob != None: # Clone the object - duplicate it, clean the clone, and create an ipo curve for the clone myob = duplicateLinked(ob) #clone it - myob.name= usrObjectNamePrefix + ob.getName() + myob.setName(usrObjectNamePrefix + ob.getName()) removeConstraintsOb(myob) #my object is a free man deLinkOb('Ipo',myob) #kids, it's not nice to share. you've been lied to if ob.getType() != ARMATURE: # baking armatures is based on bones, not object _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs