Added bounds.

This commit is contained in:
max
2021-02-17 21:20:53 +01:00
parent 3c14c98cf9
commit 2ea76b947e
3 changed files with 24 additions and 4 deletions

View File

@ -1,4 +1,3 @@
using System.Linq;
using UnityEditor;
using UnityEngine;

View File

@ -113,6 +113,7 @@ namespace TAO.VertexAnimation.Editor
foreach (var m in meshes)
{
m.bounds = bakedData.mesh.bounds;
m.Finalize();
AssetDatabase.AddObjectToAsset(m, this);
}