From 99181d2fdba92d18b2e08cc0a7ef0d1e33e8d05f Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 6 Feb 2024 16:51:12 +0100 Subject: [PATCH] Disable Material stuff for now. --- Glamourer/Gui/Tabs/ActorTab/ActorPanel.cs | 6 +++--- Glamourer/Gui/Tabs/DesignTab/DesignPanel.cs | 2 +- Glamourer/Interop/Material/MaterialManager.cs | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Glamourer/Gui/Tabs/ActorTab/ActorPanel.cs b/Glamourer/Gui/Tabs/ActorTab/ActorPanel.cs index 90ff4b7..fc69095 100644 --- a/Glamourer/Gui/Tabs/ActorTab/ActorPanel.cs +++ b/Glamourer/Gui/Tabs/ActorTab/ActorPanel.cs @@ -117,9 +117,9 @@ public class ActorPanel( RevertButtons(); - - if (ImGui.CollapsingHeader("Material Shit")) - _materialDrawer.DrawActorPanel(_actor); + // TODO Materials + //if (ImGui.CollapsingHeader("Material Shit")) + // _materialDrawer.DrawActorPanel(_actor); using var disabled = ImRaii.Disabled(transformationId != 0); if (_state.ModelData.IsHuman) DrawHumanPanel(); diff --git a/Glamourer/Gui/Tabs/DesignTab/DesignPanel.cs b/Glamourer/Gui/Tabs/DesignTab/DesignPanel.cs index 13cd293..4fa302e 100644 --- a/Glamourer/Gui/Tabs/DesignTab/DesignPanel.cs +++ b/Glamourer/Gui/Tabs/DesignTab/DesignPanel.cs @@ -384,7 +384,7 @@ public class DesignPanel( DrawCustomize(); DrawEquipment(); DrawCustomizeParameters(); - DrawMaterialValues(); + //DrawMaterialValues(); TODO Materials _designDetails.Draw(); DrawApplicationRules(); _modAssociations.Draw(); diff --git a/Glamourer/Interop/Material/MaterialManager.cs b/Glamourer/Interop/Material/MaterialManager.cs index f35ee8a..b8c33c8 100644 --- a/Glamourer/Interop/Material/MaterialManager.cs +++ b/Glamourer/Interop/Material/MaterialManager.cs @@ -30,7 +30,8 @@ public sealed unsafe class MaterialManager : IRequiredService, IDisposable _penumbra = penumbra; _event = prepareColorSet; - _event.Subscribe(OnPrepareColorSet, PrepareColorSet.Priority.MaterialManager); + // TODO Material + //_event.Subscribe(OnPrepareColorSet, PrepareColorSet.Priority.MaterialManager); } public void Dispose()