Added bounds.

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

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
using System.Linq;
using UnityEditor;
using UnityEngine;
@@ -113,6 +113,7 @@ namespace TAO.VertexAnimation.Editor
foreach (var m in meshes)
{
m.bounds = bakedData.mesh.bounds;
m.Finalize();
AssetDatabase.AddObjectToAsset(m, this);
}