Fixing tests
This commit is contained in:
parent
e839cb6e1c
commit
70cab645ba
3 changed files with 20 additions and 17 deletions
|
|
@ -266,7 +266,10 @@ namespace MatterHackers.PolygonMesh.UnitTests
|
|||
|
||||
// Set directory for asset resolution
|
||||
Object3D.AssetsPath = Path.Combine(tempPath, "Assets");
|
||||
Directory.Delete(Object3D.AssetsPath, true);
|
||||
if (Directory.Exists(Object3D.AssetsPath))
|
||||
{
|
||||
Directory.Delete(Object3D.AssetsPath, true);
|
||||
}
|
||||
Directory.CreateDirectory(Object3D.AssetsPath);
|
||||
|
||||
scene.Save(filePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue