1
0
mirror of synced 2024-11-12 10:10:50 +01:00

Load more properties

This commit is contained in:
KillzXGaming 2019-04-22 18:38:11 -04:00
parent ea9110bed4
commit 021b34afba
6 changed files with 25 additions and 0 deletions

Binary file not shown.

View File

@ -233,6 +233,31 @@ namespace FirstPlugin
else
editor.LoadProperty(((FMAT)SelectedSection).MaterialU, OnPropertyChanged);
}
else if (SelectedSection is BfresBone)
{
if (((BfresBone)SelectedSection).BoneU != null)
editor.LoadProperty(((BfresBone)SelectedSection).BoneU, OnPropertyChanged);
else
editor.LoadProperty(((BfresBone)SelectedSection).Bone, OnPropertyChanged);
}
else if (SelectedSection is FSKL)
{
if (((FSKL)SelectedSection).node.SkeletonU != null)
editor.LoadProperty(((FSKL)SelectedSection).node.SkeletonU, OnPropertyChanged);
else
editor.LoadProperty(((FSKL)SelectedSection).node.Skeleton, OnPropertyChanged);
}
else if (SelectedSection is FSKA)
{
if (((FSKA)SelectedSection).SkeletalAnimU != null)
editor.LoadProperty(((FSKA)SelectedSection).SkeletalAnimU, OnPropertyChanged);
else
editor.LoadProperty(((FSKA)SelectedSection).SkeletalAnim, OnPropertyChanged);
}
else if (SelectedSection is FMAA)
{
editor.LoadProperty(((FMAA)SelectedSection).MaterialAnim, OnPropertyChanged);
}
else
editor.LoadProperty(null, OnPropertyChanged);
}