SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Index: Constructor/Operations/ExportNavigationMesh.cs |
| 1 | + | public override bool RunImp(Task task, AppEnv appEnv, bool withChildren) |
| 2 | - | =================================================================== |
| 2 | + | {
|
| 3 | - | --- Constructor/Operations/ExportNavigationMesh.cs (revision 6363) |
| 3 | + | string tempDir = appEnv.TempDir + @"export-lsa4-with-vector-data-5\"; |
| 4 | - | +++ Constructor/Operations/ExportNavigationMesh.cs (working copy) |
| 4 | + | |
| 5 | - | @@ -14,5 +14,20 @@ |
| 5 | + | Command command = null; |
| 6 | - | : base("Navigation Mesh")
|
| 6 | + | command = new Command(); |
| 7 | - | {
|
| 7 | + | command.Type = Command.CommandType.EDTU4; |
| 8 | - | } |
| 8 | + | command.EdtuCommand = "build-navigation-mesh"; |
| 9 | - | + |
| 9 | + | string surfaceL0filename = tempDir + "surfaceL0.ofsh"; |
| 10 | - | + public override bool RunImp(Task task, AppEnv appEnv, bool withChildren) |
| 10 | + | string navMeshfilename = //todo |
| 11 | - | + {
|
| 11 | + | command.Args = surfaceL0filename + " " + navMeshfilename; |
| 12 | - | + string tempDir = appEnv.TempDir + @"export-lsa4-with-vector-data-5\"; |
| 12 | + | command.ErrorsFile = tempDir + @"export-vector-data_errors.ofsh"; |
| 13 | - | + |
| 13 | + | task.AddCommand(command); |
| 14 | - | + Command command = null; |
| 14 | + | |
| 15 | - | + command = new Command(); |
| 15 | + | return true; |
| 16 | - | + command.Type = Command.CommandType.EDTU4; |
| 16 | + | } |