dmitrysenkovich

Untitled

Aug 27th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: ExportSurface.cs
  2. ===================================================================
  3. --- ExportSurface.cs    (revision 6363)
  4. +++ ExportSurface.cs    (working copy)
  5. @@ -24,7 +24,7 @@
  6.  
  7.          public override bool RunImp(Task task, AppEnv appEnv, bool withChildren)
  8.          {
  9. -            string tempDir = appEnv.TempDir + @"export-surface\";
  10. +            string tempDir = appEnv.SurfaceTempDir;
  11.              string cutinDir = tempDir + @"rrr_and_airfields_cutin\";
  12.              string filterByPropertiesDir = tempDir + @"filter-by-properties-luas\";
  13.              string airfieldSurfaceDir = tempDir + @"airfield-surface\";
  14. @@ -152,7 +152,7 @@
  15.              {
  16.                  string seaMaterial = "Sea4.1";
  17.  
  18. -                tempDir = appEnv.TempDir + @"export-lsa4-with-vector-data-5\";
  19. +                tempDir = appEnv.SurfaceTempDir;
  20.                  System.IO.Directory.CreateDirectory(tempDir);
  21.                  Tools.Path.CleanupDir(tempDir);
  22.                  // apply-surface-types & merge
  23. @@ -252,7 +252,7 @@
  24.                  }
  25.  
  26.                  // build-surface-by-vector-data-5
  27. -                string surfaceL0_1 = tempDir + @"surface-L0.ofsh";
  28. +                string surfaceL0_1 = appEnv.SurfaceL0Output;
  29.                  string outputReflectReceiver = appEnv.ReflectReceiverScene;
  30.                  {
  31.                      command = new Command();
  32. @@ -562,7 +562,7 @@
  33.                  command = MergeOffshoresCommand(cutbysquares.ToArray(), mergedfilename);
  34.                  task.AddCommand(command);
  35.  
  36. -                var surfaceL0filename = tempDir + "surfaceL0.ofsh";
  37. +                var surfaceL0filename = appEnv.SurfaceL0Output;
  38.                  var mergedL0filename = tempDir + "mergedL0.ofsh";
  39.                  var finalL0filename = tempDir + "finalL0.ofsh";
  40.                  var cutL0filename = tempDir + "cutL0.ofsh";
Advertisement
Add Comment
Please, Sign In to add comment