dmitrysenkovich

Untitled

Aug 25th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: Constructor/Operations/ExportNavigationMesh.cs
  2. ===================================================================
  3. --- Constructor/Operations/ExportNavigationMesh.cs  (revision 6363)
  4. +++ Constructor/Operations/ExportNavigationMesh.cs  (working copy)
  5. @@ -14,5 +14,20 @@
  6.              : base("Navigation Mesh")
  7.          {
  8.          }
  9. +
  10. +        public override bool RunImp(Task task, AppEnv appEnv, bool withChildren)
  11. +        {
  12. +            string tempDir = appEnv.TempDir + @"export-lsa4-with-vector-data-5\";
  13. +
  14. +            Command command = null;
  15. +            command = new Command();
  16. +            command.Type = Command.CommandType.EDTU4;
  17. +            command.EdtuCommand = "build-navigation-mesh";
  18. +            command.Args = tempDir + "surface-L0.ofsh" + " D:\\huhu.ofsh";                
  19. +            command.ErrorsFile = tempDir + @"export-vector-data_errors.ofsh";
  20. +            task.AddCommand(command);
  21. +
  22. +            return true;
  23. +        }
  24.      }
  25.  }
Advertisement
Add Comment
Please, Sign In to add comment