[Bf-python] Armature woes
Arne Schmitz
arne.schmitz at gmx.net
Fri Jan 26 16:32:38 CET 2007
Am Freitag, 26. Januar 2007 15:48 schrieb Joseph Gilbert:
> It's because you are overwriting the names of the bones later in the
> script with numbers in lines 228-235:
>
> armData.makeEditable()
> i = 0
> for name,bone in armData.bones.items():
> bone.name = str(i)
> i = i + 1
> continue
>
> Comment out lines 228-235 and also line 239 (armature.update()) and the
> script gets the names of the bones correctly.
Man, sometimes I really feel stupid, thanks. ;) That's what happens when you
don't touch code for months...
Arne
--
Dipl.-Inform. Arne Schmitz Phone +49 (0)241 80-21817
Computer Graphics Group Fax +49 (0)241 80-22899
RWTH Aachen University http://www.rwth-graphics.de
Ahornstrasse 55, 52074 Aachen, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20070126/48f90583/attachment.sig>
More information about the Bf-python
mailing list