Blender Git Loki

Git Commits -> Revision 34a617e

Revision 34a617e by Campbell Barton (master)
April 15, 2009, 07:00 (GMT)
[#7789] 3DS Import , Mesh not correct since Blender 2.44

There is a problem importing 3ds files where I cant find a way to check if the transforms are applied to the vertex locations or not.
Since 2.44 I made the importer assume they were not since you can manually remove transformations, but not reverse.

Nevertheless most 3ds files have the matrix applied, better not give a bad import by default.
Did some research and other 3ds importers (lib3ds for eg), have the same problem and just assume the transformations applied.

3dsMax imports both correctly so there must be a way to tell but I could not link it to the 3ds version or other mesh options.
Added an option to workaround this problem in rare cases where its needed.

- KX_GameObject.cpp & KX_Scene.cpp, clear the dict before removing the reference in case there is a circular reference.

Commit Details:

Full Hash: 34a617e3084708f938e9b41489405c3ca30421f8
SVN Revision: 19725
Parent Commit: efb7dd8
Lines Changed: +7, -0

3 Modified Paths:

/release/scripts/3ds_import.py (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021