Fixes, IPC

* Armature manager now assigns permanent ActorIdentifier to armatures
* Slight changes to make sure penumbra redraw doesn't break temporary profiles
* Profile selection UI now gets updated on login/logout in order to display correct colors
* Changed logic of setting Armature.IsVisible
* Implemented OnProfileUpdate IPC
This commit is contained in:
RisaDev
2024-01-23 01:40:01 +03:00
parent 6dbd6a62ff
commit 7011914a4e
8 changed files with 124 additions and 44 deletions

View File

@@ -62,9 +62,9 @@ public class GameObjectService
{
if (kvPair.Value.Objects.Count > 1) //in gpose we can have more than a single object for one actor
foreach (var obj in kvPair.Value.Objects)
yield return (kvPair.Key, obj);
yield return (kvPair.Key.CreatePermanent(), obj);
else
yield return (kvPair.Key, kvPair.Value.Objects[0]);
yield return (kvPair.Key.CreatePermanent(), kvPair.Value.Objects[0]);
}
}
}