Handle Range Transitions for Invalid Transitions

Add a prefix to transitions converted to text which were invalid
Add counters for invalid transitions converted to text.
Added a method to convert invalid transitions to text
Cleanup debug
Changed the panel so that it only requires a default section if the default is not set and it is required
Fix invalid transitions when a step is activated.
Don't fail when you open a step with an invalid transition.
Display Transition Refresh Statistics
This commit is contained in:
Rich
2018-01-18 15:09:06 +00:00
parent 88db9605ed
commit 849b7230f2
7 changed files with 130 additions and 35 deletions

View File

@@ -445,7 +445,8 @@ namespace Volian.Controls.Library
EditItem lastEI = _SelectedEditItem;
if (value != null) value.SetActive(); // Set the active color
if (lastEI == value) return; // Same - No Change
// B2018-002 - Invalid Transitions - If the current step contains an invalid transition convert it to text
if(value != null) ItemInfo.ConvertInvalidTransitionsToText(value.MyItemInfo);
if (lastEI != null && lastEI.BeingDisposed == false)
{
bool shouldDelete = !lastEI.BeingRemoved && lastEI.Empty && (lastEI.MyItemInfo.MyContent.ContentEntryCount <= 0);