mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2025-06-13 06:46:17 +02:00
Added bounds.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user