optimizing

This commit is contained in:
Perfare
2018-07-24 22:05:02 +08:00
parent d523862fac
commit 35edb9d391
5 changed files with 84 additions and 70 deletions

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{583fcf27-d43a-4d07-86f5-7757c1fa471b}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{444d070d-1fc6-4211-b76b-d4c5d708ac6f}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="AssemblyInfo.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="AssetStudioFBX.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="AssetStudioFBXExporter.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="AssetStudioFBX.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -218,7 +218,7 @@ namespace AssetStudio
while (parent != nullptr)
{
exportFrames->Add(parent->Name);
parent = (ImportedFrame^)parent->Parent;
parent = parent->Parent;
}
List<ImportedBone^>^ boneList = meshListSome->BoneList;
@ -232,7 +232,7 @@ namespace AssetStudio
while (boneParent != nullptr)
{
exportFrames->Add(boneParent->Name);
boneParent = (ImportedFrame^)boneParent->Parent;
boneParent = boneParent->Parent;
}
}
}