mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-28 19:39:22 +01:00
Fix ignoring of human non-zero model ids.
This commit is contained in:
parent
8c427e49e3
commit
d1bb2ddefe
3 changed files with 14 additions and 4 deletions
|
|
@ -167,7 +167,10 @@ public class DesignPanel
|
|||
|
||||
private void DrawCustomize()
|
||||
{
|
||||
if (!ImGui.CollapsingHeader("Customization"))
|
||||
var header = _selector.Selected!.DesignData.ModelId == 0
|
||||
? "Customization"
|
||||
: $"Customization (Model Id #{_selector.Selected!.DesignData.ModelId})###Customization";
|
||||
if (!ImGui.CollapsingHeader(header))
|
||||
return;
|
||||
|
||||
if (_customizationDrawer.Draw(_selector.Selected!.DesignData.Customize, _selector.Selected.ApplyCustomize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue