From 00ed5a2cc9de18549e7872175a0514b55822815a Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 19 Sep 2008 20:22:54 +0000 Subject: Patch #17348 by Roger Wickes Fix in Bake Constraints script, better naming for new object. --- release/scripts/animation_bake_constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/animation_bake_constraints.py b/release/scripts/animation_bake_constraints.py index 8a416c3c488..58e9e2b1d02 100644 --- a/release/scripts/animation_bake_constraints.py +++ b/release/scripts/animation_bake_constraints.py @@ -602,7 +602,7 @@ def bakeObject(ob): #bakes the core object locrot and assigns the Ipo to a Clone 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 -- cgit v1.2.3