Blender Git Loki

Git Commits -> Revision ea1b97a

Revision ea1b97a by Arystanbek Dyussenov (master)
January 23, 2010, 12:45 (GMT)
COLLADA branch: partial fix of bug #20634

* scale and rotation of objects with negative scale is exported correctly. This is accomplished by:
** if ob has no parent, use ob->rot, ob->scale values directly
** if ob has a parent, a local matrix is computed without scale and rotation is derived from it, scale value is copied directly from ob->size

Noted a few other bugs:
* importer suffers from negative scale problem too
* bones with negative scale are exported incorrectly too
* object animation values are copied from FCurves which is not ok for child objects where values should be in parent-space

Commit Details:

Full Hash: ea1b97a184d54e9c6fa52a89d57d671395eb6483
SVN Revision: 26209
Parent Commit: 799fd6f
Lines Changed: +53, -23

1 Modified Path:

/source/blender/collada/DocumentExporter.cpp (+53, -23) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021