Added so when the exported animator contains MeshRenderers without meshes attached it tries to find the missing meshes by the Renderer's original name. (Fixes NagantSR0101 from Girls Frontline 2 Animator export not exporting meshes at all in any existing variant.) Also set ReShade in 3D view to be disabled by default as it is misleading otherwise

This commit is contained in:
hungrydoodles
2024-05-14 23:58:13 +05:00
parent 8704feb079
commit 5e3fe1775f
2 changed files with 25 additions and 1 deletions

View File

@ -2714,7 +2714,7 @@ namespace AssetStudioGUI
GL.GenVertexArrays(1, out vao);
GL.BindVertexArray(vao);
CreateVBO(out var vboPositions, vertexData, attributeVertexPosition);
if (normalMode == 0)
if (normalMode == 1)
{
CreateVBO(out var vboNormals, normal2Data, attributeNormalDirection);
}