remove CustomerEqualityComparer

This commit is contained in:
ousttrue
2018-04-03 20:24:17 +09:00
parent 8fb64eb6cd
commit c8228ed2f8
3 changed files with 15 additions and 20 deletions

View File

@@ -65,8 +65,8 @@ namespace VRM
public BlendShapeMerger(IEnumerable<BlendShapeClip> clips, Transform root)
{
m_clipMap = clips.ToDictionary(x => BlendShapeKey.CreateFrom(x), x => x, new BlendShapeKey.CustomerEqualityComparer());
m_valueMap = new Dictionary<BlendShapeKey, float>(new BlendShapeKey.CustomerEqualityComparer());
m_clipMap = clips.ToDictionary(x => BlendShapeKey.CreateFrom(x), x => x);
m_valueMap = new Dictionary<BlendShapeKey, float>();
foreach (var kv in m_clipMap)
{
foreach (var binding in kv.Value.Values) {