[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16614] trunk/blender/release/scripts/ animation_bake_constraints.py: Patch #17348 by Roger Wickes

Ton Roosendaal ton at blender.org
Fri Sep 19 22:23:28 CEST 2008


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





More information about the Bf-blender-cvs mailing list