소스 검색

Zone Project Gather: Bug

MaiXinRong 8 년 전
부모
커밋
3d9812461e
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      ProjGather/ProjGather.pas

+ 2 - 3
ProjGather/ProjGather.pas

@@ -592,8 +592,7 @@ begin
   FBeginPhaseIndex := ABeginPhaseIndex;
   FEndPhaseIndex := AEndPhaseIndex;
 
-  FTree := TProjGatherTree.Create(FProjs.Count, 0);
-  FTree.NewNodeID := 101;
+  BeforeGather;
   try
     for i := 0 to FProjs.Count - 1 do
       GatherProj(TGatherProjInfo(FProjs.Items[i]), i);
@@ -601,7 +600,7 @@ begin
     if Assigned(FWriter) then
       FWriter(Self);
   finally
-    FTree.Free;
+    AfterGather;
   end;
 end;