Merge remote-tracking branch 'assimp/master'
Conflicts: code/LWSLoader.cpppull/3/head
commit
f53f55484e
|
@ -338,8 +338,8 @@ void LWSImporter::BuildGraph(aiNode* nd, LWS::NodeDesc& src, std::vector<Attachm
|
||||||
|
|
||||||
//Remove first node from obj (the old pivot), reset transform of second node (the mesh node)
|
//Remove first node from obj (the old pivot), reset transform of second node (the mesh node)
|
||||||
aiNode* newRootNode = obj->mRootNode->mChildren[0];
|
aiNode* newRootNode = obj->mRootNode->mChildren[0];
|
||||||
free(obj->mRootNode->mChildren);
|
obj->mRootNode->mChildren[0] = NULL;
|
||||||
free(obj->mRootNode);
|
delete obj->mRootNode;
|
||||||
obj->mRootNode = newRootNode;
|
obj->mRootNode = newRootNode;
|
||||||
obj->mRootNode->mTransformation.a4 = 0.0;
|
obj->mRootNode->mTransformation.a4 = 0.0;
|
||||||
obj->mRootNode->mTransformation.b4 = 0.0;
|
obj->mRootNode->mTransformation.b4 = 0.0;
|
||||||
|
|
|
@ -2008,6 +2008,18 @@
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="m3"
|
||||||
|
>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\code\M3Importer.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\code\M3Importer.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="postprocessing"
|
Name="postprocessing"
|
||||||
|
|
Loading…
Reference in New Issue