Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit b93b750

Browse files
committed
Fix progress display;
1 parent 52553a8 commit b93b750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnityProject/Assets/RefAnalyzer/Editor/UI/ExporterWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void UpdateProgress() {
4848
EditorUtility.DisplayProgressBar(
4949
string.Format("Data Export ({0}/{1})", _exporter.CurrentProgress, _exporter.TotalProgress),
5050
string.Format("Scene: '{0}'", _exporter.CurrentScenePath),
51-
Mathf.Clamp01(_exporter.CurrentProgress / _exporter.TotalProgress)
51+
Mathf.Clamp01((float)_exporter.CurrentProgress / _exporter.TotalProgress)
5252
);
5353
if ( _exporter.PrepareNextScene() ) {
5454
_exporter.Export();

0 commit comments

Comments
 (0)