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

@ -275,6 +275,11 @@ namespace MatterHackers.GCodeVisualizer
public void Render3D(GCodeRenderInfo renderInfo)
{
if (renderInfo == null)
{
return;
}
if (layerVertexBuffer == null)
{
layerVertexBuffer = new List<GCodeVertexBuffer>();