Extract embedded types to new files

This commit is contained in:
John Lewin 2018-03-01 09:56:50 -08:00
parent 74b6a7f30f
commit 06e9a73b03
12 changed files with 180 additions and 91 deletions

View file

@ -53,6 +53,7 @@ using Newtonsoft.Json.Converters;
using NUnit.Framework;
using MatterHackers.MatterControl.PrinterControls.PrinterConnections;
using MatterHackers.MatterControl.PrinterCommunication.Io;
using MatterHackers.MatterControl.Library;
namespace MatterHackers.MatterControl.Tests.Automation
{

View file

@ -154,7 +154,7 @@ namespace MatterHackers.PolygonMesh.UnitTests
//File.WriteAllText(@"c:\temp\file-b.txt", inMemoryData);
Assert.AreEqual(inMemoryData, onDiskData, "Serialized content should match");
Object3D.AssetsPath = tempPath;
Object3D.AssetsPath = Path.Combine(tempPath, "Assets");
// Save the scene a second time, validate that things remain the same
scene.Save(filePath);