This commit is contained in:
Perfare 2018-09-10 13:45:12 +08:00
parent 2d0278db87
commit a233af5b8f
3 changed files with 0 additions and 16 deletions

View File

@ -889,8 +889,6 @@ namespace AssetStudio
{
var x = normalData[i * 2 + 0];
var y = normalData[i * 2 + 1];
m_Normals[i * 3] = x;
m_Normals[i * 3 + 1] = y;
var zsqr = 1 - x * x - y * y;
float z;
if (zsqr >= 0f)

View File

@ -19,17 +19,6 @@ namespace AssetStudio
FbxIOSettings* ios = FbxIOSettings::Create(*pSdkManager, IOSROOT);
(*pSdkManager)->SetIOSettings(ios);
FbxString lPath = FbxGetApplicationDirectory();
#if defined(FBXSDK_ENV_WIN)
FbxString lExtension = "dll";
#elif defined(FBXSDK_ENV_MAC)
FbxString lExtension = "dylib";
#elif defined(FBXSDK_ENV_LINUX)
FbxString lExtension = "so";
#endif
(*pSdkManager)->LoadPluginsDirectory(lPath.Buffer(), lExtension.Buffer());
*pScene = FbxScene::Create(*pSdkManager, "");
}

View File

@ -90,8 +90,6 @@ namespace AssetStudio
IOS_REF.SetBoolProp(EXP_FBX_GLOBAL_SETTINGS, true);
FbxGlobalSettings& globalSettings = pScene->GetGlobalSettings();
FbxTime::EMode pTimeMode = FbxTime::eFrames24;
globalSettings.SetTimeMode(pTimeMode);
if (!pExporter->Initialize(cDest, lFormatIndex, pSdkManager->GetIOSettings()))
{
@ -489,7 +487,6 @@ namespace AssetStudio
if (pTextureDiffuse != NULL)
{
LinkTexture(mat, 0, pTextureDiffuse, pMat->Diffuse);
pMat->TransparentColor.ConnectSrcObject(pTextureDiffuse);
hasTexture = true;
}