Parcourir la source

Sync

git-svn-id: http://10.4.3.168:50001/svn/Furnace@126 dbcde07d-dcf5-c148-8a84-ac3097b7778e
Taizixuan il y a 1 mois
Parent
commit
7e75170356

+ 1 - 1
FrameworkLocal/UIClient/CenterViews/Editors/Recipe/RecipeDataBase.cs

@@ -2384,7 +2384,7 @@ namespace MECF.Framework.UI.Client.CenterViews.Editors.Recipe
             StepNos.Add(step.StepNo);
             Steps.Add(step);
 
-            Parallel.For(1, steps.Count - 1, index =>
+            Parallel.For(1, steps.Count, index =>
             {
                 Step tempStep = CreateStep(step, steps.Item(index));
                 _StepCache[index] = new StepInfo(tempStep.StepNo, tempStep);