Fix failing test
This commit is contained in:
parent
3280b8810a
commit
a9efd3941a
1 changed files with 5 additions and 1 deletions
|
|
@ -117,8 +117,12 @@ namespace MatterHackers.PolygonMesh.UnitTests
|
|||
string tempPath = GetSceneTempPath();
|
||||
string filePath = Path.Combine(tempPath, "some.mcx");
|
||||
|
||||
// Set directory for asset resolution
|
||||
Object3D.AssetsPath = Path.Combine(tempPath, "assets");
|
||||
Directory.CreateDirectory(Object3D.AssetsPath);
|
||||
|
||||
// Empty temp folder
|
||||
foreach(string tempFile in Directory.GetFiles(tempPath).ToList())
|
||||
foreach (string tempFile in Directory.GetFiles(tempPath).ToList())
|
||||
{
|
||||
File.Delete(tempFile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue