fix gpose world stuff
This commit is contained in:
@@ -161,7 +161,7 @@ internal sealed partial class CharaDataHubUi : WindowMediatorSubscriberBase
|
||||
UpdateFilteredFavorites();
|
||||
}
|
||||
|
||||
_hasValidGposeTarget = _charaDataManager.CanApplyInGpose(out _gposeTarget);
|
||||
(_hasValidGposeTarget, _gposeTarget) = _charaDataManager.CanApplyInGpose().GetAwaiter().GetResult();
|
||||
|
||||
if (!_charaDataManager.BrioAvailable)
|
||||
{
|
||||
@@ -369,7 +369,7 @@ internal sealed partial class CharaDataHubUi : WindowMediatorSubscriberBase
|
||||
UiSharedService.AttachToolTip($"Target the GPose Character {CharaName(actor.Name.TextValue)}");
|
||||
ImGui.AlignTextToFramePadding();
|
||||
var pos = ImGui.GetCursorPosX();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.HealerGreen, actor.Address == (_dalamudUtilService.GposeTargetGameObject?.Address ?? nint.Zero)))
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.HealerGreen, actor.Address == (_dalamudUtilService.GetGposeTargetGameObjectAsync().GetAwaiter().GetResult()?.Address ?? nint.Zero)))
|
||||
{
|
||||
ImGui.TextUnformatted(CharaName(actor.Name.TextValue));
|
||||
}
|
||||
@@ -818,7 +818,7 @@ internal sealed partial class CharaDataHubUi : WindowMediatorSubscriberBase
|
||||
{
|
||||
if (_uiSharedService.IconTextButton(FontAwesomeIcon.ArrowRight, "Apply"))
|
||||
{
|
||||
_charaDataManager.McdfApplyToGposeTarget();
|
||||
_ = _charaDataManager.McdfApplyToGposeTarget();
|
||||
}
|
||||
UiSharedService.AttachToolTip($"Apply to {_gposeTarget}");
|
||||
ImGui.SameLine();
|
||||
|
||||
Reference in New Issue
Block a user