Skip to content

Commit dcca59f

Browse files
author
Clément Léger
committed
UI improvement
Upload is now 99% of the progressbar rather than 75%. Convert process is now 1% rather than 25% (since we don't even have a callback on the convert process progress)
1 parent 1228f71 commit dcca59f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/External Tools/Exporter/SketchfabExporterWindow.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public float progress() {
6262
if (www == null)
6363
return 0.0f;
6464

65-
return 0.75f * www.uploadProgress + 0.25f * www.progress;
65+
return 0.99f * www.uploadProgress + 0.01f * www.progress;
6666
}
6767

6868
public string errored() {
@@ -449,8 +449,8 @@ void OnGUI() {
449449
GUILayout.Label("Sketchfab settings", EditorStyles.boldLabel);
450450
param_token = EditorGUILayout.TextField("API Token", param_token);
451451
EditorGUILayout.BeginHorizontal();
452-
EditorGUILayout.PrefixLabel("can be obtained on your dashboard");
453-
if(GUILayout.Button("dashboard"))
452+
EditorGUILayout.PrefixLabel("find your token");
453+
if(GUILayout.Button("open dashboard"))
454454
Application.OpenURL(dashboard_url);
455455
EditorGUILayout.EndHorizontal();
456456

0 commit comments

Comments
 (0)