Index: release/scripts/animation_bake_constraints.py =================================================================== --- release/scripts/animation_bake_constraints.py (revision 18402) +++ release/scripts/animation_bake_constraints.py (working copy) @@ -559,15 +559,21 @@ ## rdw: simplified by just duplicating armature. kept code as reference for creating armatures ## disadvantage is that you cant have clone as stick and original as octahedron ## since they share the same Armature. User can click Make Single User button. -## if obType == ARMATURE: #build a copy from scratch -## myob= dupliArmature(ob) -## else: - Blender.Object.Duplicate() # Duplicate linked, including pose constraints. - myobs = Object.GetSelected() #duplicate is top on the list - myob = myobs[0] - if usrParent == False: - myob.clrParent(usrFreeze) - debug(20,'=myob= was created as %s' % myob.getName()) + + # EAS: Current blender implementation (2.48a) + # has problems with removing constraints from pose bones. Bug #18018 + # Folowing code block reimplemented + if obType == ARMATURE: #build a copy from scratch + myob= dupliArmature(ob) + else: + # EAS: End of reiimplemented code. + + Blender.Object.Duplicate() # Duplicate linked, including pose constraints. + myobs = Object.GetSelected() #duplicate is top on the list + myob = myobs[0] + if usrParent == False: + myob.clrParent(usrFreeze) + debug(20,'=myob= was created as %s' % myob.getName()) return myob ########################################