Skip to content

Commit

Permalink
Sparse Accessor export fix > wrong used delta
Browse files Browse the repository at this point in the history
# Conflicts:
#	Runtime/Scripts/SceneExporter/ExporterMeshes.cs
  • Loading branch information
pfcDorn committed Mar 12, 2024
1 parent ad49813 commit f877df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Scripts/SceneExporter/ExporterMeshes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ private void ExportBlendShapes(SkinnedMeshRenderer smr, Mesh meshObj, int submes
}
else
{
exportTargets.Add(SemanticProperties.NORMAL, ExportSparseAccessor(null, null, SchemaExtensions.ConvertVector3CoordinateSpaceAndCopy(deltaVertices, SchemaExtensions.CoordinateSpaceConversionScale)));
exportTargets.Add(SemanticProperties.NORMAL, ExportSparseAccessor(null, null, SchemaExtensions.ConvertVector3CoordinateSpaceAndCopy(deltaNormals, SchemaExtensions.CoordinateSpaceConversionScale)));
}
}
if (meshHasTangents && settings.BlendShapeExportProperties.HasFlag(GLTFSettings.BlendShapeExportPropertyFlags.Tangent))
Expand Down

0 comments on commit f877df9

Please sign in to comment.