Handle EngineBuffers, Preview Names and variable editor types for materials

This commit is contained in:
Simon Lübeß
2025-03-22 23:40:43 +01:00
parent 77a7a04637
commit 5e50d75eb9
13 changed files with 696 additions and 431 deletions
@@ -172,16 +172,14 @@ class InspectorWindow : EditorWindow
(assetFile.AssetConfig?.ProcessorConfig?.Changed == true) ||
(assetFile.AssetConfig?.ExporterConfig?.Changed == true);
if (!hasChanges)
ImGui.BeginDisabled();
ImGui.BeginDisabled(!hasChanges);
if (ImGui.Button("Apply"))
{
assetFile.SaveAssetConfigIfChanged();
}
if (!hasChanges)
ImGui.EndDisabled();
ImGui.EndDisabled();
}
private static void ShowEntityProperties(UUID entityId, Editor editor, Type componentType = null)