mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Handle EngineBuffers, Preview Names and variable editor types for materials
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user