Add and use new ISceneContext interface

This commit is contained in:
John Lewin 2019-02-01 16:12:12 -08:00
parent 3f02989e62
commit 83712d7e08
23 changed files with 174 additions and 47 deletions

View file

@ -36,10 +36,10 @@ namespace MatterHackers.MatterControl
public class SceneContextViewState
{
private BedConfig sceneContext;
private ISceneContext sceneContext;
private RenderTypes renderType = RenderTypes.Outlines;
public SceneContextViewState(BedConfig sceneContext)
public SceneContextViewState(ISceneContext sceneContext)
{
this.sceneContext = sceneContext;