Move ownership of GCode ActiveLayer & FeatureToStart/StopOn to model

This commit is contained in:
John Lewin 2017-06-28 20:48:00 -07:00
parent 781ff748b4
commit 3ab89b8d3f
7 changed files with 119 additions and 94 deletions

View file

@ -53,7 +53,7 @@ namespace MatterHackers.GCodeVisualizer
public int StartLayerIndex { get; set; }
public int EndLayerIndex { get; }
public int EndLayerIndex { get; set; }
public Affine Transform { get; }
@ -61,9 +61,9 @@ namespace MatterHackers.GCodeVisualizer
public RenderType CurrentRenderType { get; }
public double FeatureToStartOnRatio0To1 { get; }
public double FeatureToStartOnRatio0To1 { get; set; }
public double FeatureToEndOnRatio0To1 { get; }
public double FeatureToEndOnRatio0To1 { get; set; }
public GCodeRenderInfo()
{