mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-03 14:23:43 +01:00
Allow restricting only the options forcing redraw in customize drawer and do this for screen actors.
This commit is contained in:
parent
506f4b887e
commit
27281bedfb
7 changed files with 63 additions and 30 deletions
|
|
@ -116,7 +116,7 @@ public class ActorPanel
|
|||
if (!ImGui.CollapsingHeader("Customizations"))
|
||||
return;
|
||||
|
||||
if (_customizationDrawer.Draw(_state!.ModelData.Customize, _state.IsLocked))
|
||||
if (_customizationDrawer.Draw(_state!.ModelData.Customize, _state.IsLocked, _identifier.Type is IdentifierType.Special))
|
||||
_stateManager.ChangeCustomize(_state, _customizationDrawer.Customize, _customizationDrawer.Changed, StateChanged.Source.Manual);
|
||||
|
||||
if (_customizationDrawer.DrawWetnessState(_state!.ModelData.IsWet(), out var newWetness, _state.IsLocked))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue