mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-12-05 01:30:44 +01:00
Refresh preview.
Refresh animation library preview.
This commit is contained in:
parent
1afaa6d81f
commit
8d1120a826
@ -31,6 +31,11 @@ namespace TAO.VertexAnimation.Editor
|
||||
|
||||
private void InfoGUI()
|
||||
{
|
||||
if (GUILayout.Button("Refresh Preview"))
|
||||
{
|
||||
library.OnValidate();
|
||||
}
|
||||
|
||||
using (new EditorGUI.DisabledScope(disabled: true))
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("loadedAnimationsPreview"));
|
||||
|
@ -38,7 +38,7 @@ namespace TAO.VertexAnimation
|
||||
}
|
||||
}
|
||||
|
||||
private void OnValidate()
|
||||
public void OnValidate()
|
||||
{
|
||||
Dictionary<string, VA_Animation> usedNames = new Dictionary<string, VA_Animation>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user