fuck you bones position

that's a problem for future me
This commit is contained in:
4sval
2022-11-13 22:10:22 +01:00
parent 25de50818d
commit ad6c4b9474
13 changed files with 606 additions and 421 deletions

View File

@@ -72,6 +72,13 @@ public class CUE4ParseViewModel : ViewModel
set => SetProperty(ref _modelIsOverwritingMaterial, value);
}
private bool _modelIsWaitingAnimation;
public bool ModelIsWaitingAnimation
{
get => _modelIsWaitingAnimation;
set => SetProperty(ref _modelIsWaitingAnimation, value);
}
private Snooper _snooper;
public Snooper SnooperViewer
{
@@ -790,6 +797,12 @@ public class CUE4ParseViewModel : ViewModel
SnooperViewer.Run();
return true;
}
case UAnimSequence a when ModelIsWaitingAnimation:
{
SnooperViewer.Renderer.Animate(a);
SnooperViewer.Run();
return true;
}
case UStaticMesh when UserSettings.Default.SaveStaticMeshes:
case USkeletalMesh when UserSettings.Default.SaveSkeletalMeshes:
case UMaterialInstance when UserSettings.Default.SaveMaterials: