system correct path to phil
This commit is contained in:
parent
b6d878e1b4
commit
ae834316f4
3 changed files with 4 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ using MatterHackers.PolygonMesh;
|
|||
using MatterHackers.VectorMath;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
@ -52,7 +53,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
public static void AddPhilToBed(this ISceneContext sceneContext)
|
||||
{
|
||||
var philStl = StaticData.Instance.MapPath(@"OEMSettings\SampleParts\Phil A Ment.stl");
|
||||
var philStl = StaticData.Instance.MapPath(Path.Combine("OEMSettings", "SampleParts", "Phil A Ment.stl"));
|
||||
sceneContext.AddToPlate(new string[] { philStl }, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
protected override void OnTreeNodeDoubleClicked(TreeNode treeNode)
|
||||
{
|
||||
if (treeNode.Tag is PrinterInfo printerInfo)
|
||||
if (treeNode.Tag is PrinterInfo)
|
||||
{
|
||||
this.OnContinue(treeNode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue