1
0
mirror of synced 2025-02-20 20:51:35 +01:00

Remove unecessary progress bar for updating vertices as it's usually quick enough.

This commit is contained in:
KillzXGaming 2019-06-06 16:14:49 -04:00
parent 157ff75b79
commit 28b231caaa
2 changed files with 0 additions and 16 deletions

Binary file not shown.

View File

@ -768,14 +768,6 @@ namespace FirstPlugin
return;
UpdateModelList();
STProgressBar progressBar = new STProgressBar();
progressBar.Task = "Updating Vertex Data...";
progressBar.Value = 0;
progressBar.StartPosition = FormStartPosition.CenterScreen;
progressBar.Show();
progressBar.Refresh();
Loaded = false;
DisplayVertex[] Vertices;
@ -798,11 +790,6 @@ namespace FirstPlugin
for (int shp = 0; shp < models[m].shapes.Count; shp++)
{
progressBar.Task = "Updating Shape... " + models[m].shapes[shp].Text;
value = ((shp * 100) / TotalShapeCount);
progressBar.Value = value;
progressBar.Refresh();
models[m].shapes[shp].Offset = poffset * 4;
List<DisplayVertex> pv = models[m].shapes[shp].CreateDisplayVertices(models[m]);
Vs.AddRange(pv);
@ -816,9 +803,6 @@ namespace FirstPlugin
}
}
progressBar.Value = 100;
progressBar.Close();
// Binds
Vertices = Vs.ToArray();
Faces = Ds.ToArray();