mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-02 05:43:42 +01:00
Bone and Material Limit updates.
Fix UI in Models tab to allow for more than 4 Materials per DT spec.
This commit is contained in:
parent
ac64b4db24
commit
b0a8b1baa5
2 changed files with 8 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ namespace Penumbra.UI.AdvancedWindow;
|
|||
|
||||
public partial class ModEditWindow
|
||||
{
|
||||
private const int MdlMaterialMaximum = 4;
|
||||
private const int MdlMaterialMaximum = 10;
|
||||
|
||||
private const string MdlImportDocumentation =
|
||||
@"https://github.com/xivdev/Penumbra/wiki/Model-IO#user-content-9b49d296-23ab-410a-845b-a3be769b71ea";
|
||||
|
|
@ -93,7 +93,7 @@ public partial class ModEditWindow
|
|||
|
||||
tab.Mdl.ConvertV5ToV6();
|
||||
_modelTab.SaveFile();
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawImportExport(MdlTab tab, bool disabled)
|
||||
{
|
||||
|
|
@ -427,7 +427,7 @@ public partial class ModEditWindow
|
|||
|
||||
private static void DrawInvalidMaterialMarker()
|
||||
{
|
||||
using (ImRaii.PushFont(UiBuilder.IconFont))
|
||||
using (ImRaii.PushFont(UiBuilder.IconFont))
|
||||
ImGuiUtil.TextColored(0xFF0000FF, FontAwesomeIcon.TimesCircle.ToIconString());
|
||||
|
||||
ImGuiUtil.HoverTooltip(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue