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.PartPreviewWindow
{
public class TraceDataDrawable : IDrawable
{
private BedConfig sceneContext;
private ISceneContext sceneContext;
private InteractiveScene scene;
public TraceDataDrawable(BedConfig sceneContext)
public TraceDataDrawable(ISceneContext sceneContext)
{
this.sceneContext = sceneContext;
this.scene = sceneContext.Scene;