Add and use new ISceneContext interface
This commit is contained in:
parent
3f02989e62
commit
83712d7e08
23 changed files with 174 additions and 47 deletions
|
|
@ -38,7 +38,7 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
public class PartWorkspace
|
||||
{
|
||||
private BedConfig _sceneContext { get; }
|
||||
private ISceneContext _sceneContext { get; }
|
||||
|
||||
public PartWorkspace()
|
||||
{
|
||||
|
|
@ -67,7 +67,7 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
|
||||
public PartWorkspace(BedConfig bedConfig)
|
||||
public PartWorkspace(ISceneContext bedConfig)
|
||||
{
|
||||
var extraContainers = new List<ILibraryContainerLink>();
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ namespace MatterHackers.MatterControl
|
|||
public string Name { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public BedConfig SceneContext => _sceneContext;
|
||||
public ISceneContext SceneContext => _sceneContext;
|
||||
|
||||
public EditContext EditContext { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue