Send IPC OnProfileUpdate when currently used template was changed in editor, fix Profile.GetActiveProfileIdOnCharacter IPC ignoring DefaultLocalPlayerProfile
This commit is contained in:
@@ -341,8 +341,7 @@ public class BoneEditorPanel
|
||||
ImGui.SetCursorPos(new Vector2(xPos, yPos));
|
||||
if (ImGui.Button("Save", buttonWidth))
|
||||
{
|
||||
_editorManager.SaveChanges();
|
||||
_editorManager.DisableEditor();
|
||||
_editorManager.SaveChangesAndDisableEditor();
|
||||
|
||||
ImGui.CloseCurrentPopup();
|
||||
}
|
||||
@@ -350,8 +349,7 @@ public class BoneEditorPanel
|
||||
ImGui.SameLine();
|
||||
if (ImGui.Button("Save as a copy", buttonWidth))
|
||||
{
|
||||
_editorManager.SaveChanges(true);
|
||||
_editorManager.DisableEditor();
|
||||
_editorManager.SaveChangesAndDisableEditor(true);
|
||||
|
||||
ImGui.CloseCurrentPopup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user