Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-09-20 00:22:54 +0400
committerTon Roosendaal <ton@blender.org>2008-09-20 00:22:54 +0400
commit00ed5a2cc9de18549e7872175a0514b55822815a (patch)
treea7b38cd78c8c5804abece143d0805332e56c87bb
parent905983229ae588d6ec31a202742b1433d46bc9b0 (diff)
Patch #17348 by Roger Wickes
Fix in Bake Constraints script, better naming for new object.
-rw-r--r--release/scripts/animation_bake_constraints.py2
1 files changed, 1 insertions, 1 deletions
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