Bug #19473
UI_ProgressBar setting maxValue to 0 causes the UI to freeze.
Status:
New
Severity:
Low
Assignee:
-
Category:
Controls and UI
Target version:
-
Start date:
08/02/2018
% Done:
0%
Language:
English (US)
Mod Related:
No
Votes:
Description
[KSPField(guiName = "Balloonet", guiActiveEditor = true, guiActive = true, isPersistant = true),
UI_ProgressBar(minValue = 0f, maxValue = 100f, scene = UI_Scene.All)]
public float atmosphereVolume = 0.0f;
works fine
[KSPField(guiName = "Balloonet", guiActiveEditor = true, guiActive = true, isPersistant = true),
UI_ProgressBar(minValue = 0f, maxValue = 0f, scene = UI_Scene.All)]
public float atmosphereVolume = 0.0f;
will cause the UI to freeze and lock up when the part is right clicked on. Though the game is still running the only option is to manually close KSP.