From 4e98f2a9053a2a9dd0b4e2a13de9bc9f836cd7df Mon Sep 17 00:00:00 2001 From: in0finite Date: Mon, 24 Jan 2022 19:00:33 +0100 Subject: [PATCH] fix pausable progress bar --- Assets/Scripts/Editor/AssetExporter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Editor/AssetExporter.cs b/Assets/Scripts/Editor/AssetExporter.cs index a6234192..8f006228 100644 --- a/Assets/Scripts/Editor/AssetExporter.cs +++ b/Assets/Scripts/Editor/AssetExporter.cs @@ -511,6 +511,7 @@ namespace SanAndreasUnity.Editor { if (EditorUtility.DisplayCancelableProgressBar(title, text, progress)) { + EditorUtility.ClearProgressBar(); // ok = continue return !EditorUtility.DisplayDialog(title, dialogText, ok, cancel); }