fix uploadMeshData

This commit is contained in:
hiroj
2021-03-18 18:22:55 +09:00
parent 8798e38f59
commit d771c1fe0e

View File

@@ -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;
}
}