mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Merge pull request #87 from Cazzar/main
Add option to disable the application of fixed designs when in gpose
This commit is contained in:
commit
1f4685f505
3 changed files with 7 additions and 0 deletions
|
|
@ -124,6 +124,10 @@ namespace Glamourer.Designs
|
|||
private void OnPlayerChange(Character character)
|
||||
{
|
||||
var name = character.Name.ToString();
|
||||
|
||||
if (Dalamud.PluginInterface.UiBuilder.GposeActive && !Glamourer.Config.ApplyInGPose)
|
||||
return;
|
||||
|
||||
if (!EnabledDesigns.TryGetValue(name, out var designs))
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ public class GlamourerConfig : IPluginConfiguration
|
|||
public bool ShowLocks { get; set; } = true;
|
||||
public bool AttachToPenumbra { get; set; } = true;
|
||||
public bool ApplyFixedDesigns { get; set; } = true;
|
||||
public bool ApplyInGPose { get; set; } = true;
|
||||
|
||||
public uint CustomizationColor { get; set; } = DefaultCustomizationColor;
|
||||
public uint StateColor { get; set; } = DefaultStateColor;
|
||||
|
|
|
|||
|
|
@ -101,6 +101,8 @@ internal partial class Interface
|
|||
else
|
||||
Glamourer.PlayerWatcher.Disable();
|
||||
});
|
||||
DrawConfigCheckMark("Apply in GPose", "Apply fixed designs to characters when entering into Group Pose", cfg.ApplyInGPose,
|
||||
v => cfg.ApplyInGPose = v);
|
||||
DrawFixedDesignGroup();
|
||||
|
||||
ImGui.Dummy(Vector2.UnitY * ImGui.GetTextLineHeightWithSpacing() / 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue