mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 13:29:41 -05:00
fix uploadMeshData
This commit is contained in:
@@ -593,8 +593,6 @@ namespace UniGLTF
|
||||
mesh.RecalculateNormals();
|
||||
}
|
||||
|
||||
mesh.UploadMeshData(false);
|
||||
|
||||
return (mesh, recalculateTangents);
|
||||
}
|
||||
|
||||
@@ -650,6 +648,9 @@ namespace UniGLTF
|
||||
BuildBlendShape(mesh, meshContext, blendShape, emptyVertices);
|
||||
}
|
||||
}
|
||||
|
||||
mesh.UploadMeshData(false);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -680,6 +681,8 @@ namespace UniGLTF
|
||||
}
|
||||
}
|
||||
|
||||
mesh.UploadMeshData(false);
|
||||
|
||||
yield return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user