Skip to content

Commit

Permalink
fix: FreezeBlendShape is not destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Jan 14, 2023
1 parent 28eb35d commit 95c0d43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Editor/Processors/SkinnedMeshes/FreezeBlendShapeProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ public override void Process(OptimizerSession session)
mesh.vertices = vertices;
mesh.normals = normals;
mesh.tangents = tangents;

session.Destroy(Component);
}

public override IMeshInfoComputer GetComputer(IMeshInfoComputer upstream) => new MeshInfoComputer(this, upstream);
Expand Down

0 comments on commit 95c0d43

Please sign in to comment.