B2020-078 Pagination changed when using new logic. Code was changed to more properly use a sorted dictionary. An inadvertent change was made that included the maximum step level which should not have been included. This has been corrected.
This commit is contained in:
parent
834febf196
commit
f4ac65a9f2
@ -1646,11 +1646,14 @@ namespace Volian.Print.Library
|
||||
while (!tmp.MyItemInfo.IsRNOPart) tmp = tmp.MyParent;
|
||||
if (tmp.MyItemInfo.RNOs != null && tmp.MyItemInfo.RNOs.Count > 0)
|
||||
{
|
||||
// B2020-077 This was changed from a standard for loop using myList.Count since there can be
|
||||
int maxLevel = 1;
|
||||
foreach (int lev in myList.Keys) // B2020-078 Don't include the highest step level
|
||||
maxLevel = Math.Max(lev, maxLevel);
|
||||
// B2020-077 This was changed from a standard for loop (for int i = 0 to myList.Count) since there can be
|
||||
// gaps in the list of step levels.
|
||||
foreach (int lev in myList.Keys) // loop thru the other step levels
|
||||
{
|
||||
if (lev > stepLevel)
|
||||
if (lev > stepLevel && lev < maxLevel)// B2020-078 Don't include the highest step level
|
||||
{
|
||||
foreach (float yLocation in myList[lev].Keys) // loop thru yLocation from pagination list
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user