Fixed 3DS, ASE, MD3 and Q3D orientation after Schrompf' recent changes to the RH-LH conversion.

WIP version of animation support in the 3DS loader. Still hoping to find out why the pivots aren't handled correctly ...
Added first draft of a B3D loader provided by Mark Sibly.
Moved DeterminePType-Step to ScenePreprocessor.
Small LWO fix. Still texturing problems.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@231 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-11-04 20:41:11 +00:00
parent 195d9a9cb1
commit 7c50899481
19 changed files with 732 additions and 129 deletions

View File

@@ -566,11 +566,14 @@ void Discreet3DSImporter::ParseHierarchyChunk(uint16_t parent)
// (target animation channels are stored with a
// separate object ID)
D3DS::Node* pcNode = FindNode(mRootNode,name);
if (!pcNode)
if (pcNode)
{
pcNode = new D3DS::Node();
pcNode->mName = name;
// Make this node the current node
mCurrentNode = pcNode;
break;
}
pcNode = new D3DS::Node();
pcNode->mName = name;
// There are two unknown values which we can safely ignore
stream->IncPtr(4);