Move ownership of GCode ActiveLayer & FeatureToStart/StopOn to model
This commit is contained in:
parent
781ff748b4
commit
3ab89b8d3f
7 changed files with 119 additions and 94 deletions
|
|
@ -275,6 +275,11 @@ namespace MatterHackers.GCodeVisualizer
|
|||
|
||||
public void Render3D(GCodeRenderInfo renderInfo)
|
||||
{
|
||||
if (renderInfo == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (layerVertexBuffer == null)
|
||||
{
|
||||
layerVertexBuffer = new List<GCodeVertexBuffer>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue