Added ability to apply profile to several characters
This commit is contained in:
@@ -46,7 +46,7 @@ public partial class CustomizePlusIpc
|
||||
.Select(x =>
|
||||
{
|
||||
string path = _profileFileSystem.FindLeaf(x, out var leaf) ? leaf.FullName() : x.Name.Text;
|
||||
return (x.UniqueId, x.Name.Text, path, x.Character.ToNameWithoutOwnerName(), x.Enabled); //todo: proper update to v5
|
||||
return (x.UniqueId, x.Name.Text, path, x.Characters[0].ToNameWithoutOwnerName(), x.Enabled); //todo: proper update to v5
|
||||
})
|
||||
.ToList();
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ public class IPCCharacterProfile
|
||||
{
|
||||
var ipcProfile = new IPCCharacterProfile
|
||||
{
|
||||
CharacterName = profile.Character.ToNameWithoutOwnerName(),
|
||||
CharacterName = profile.Characters.FirstOrDefault().ToNameWithoutOwnerName(),
|
||||
Bones = new Dictionary<string, IPCBoneTransform>()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user