Use new IAVolumeProviders from Revised Plugins
This commit is contained in:
parent
fd675ab07e
commit
f6a2f89b1c
2 changed files with 7 additions and 3 deletions
|
|
@ -113,7 +113,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
});
|
||||
}
|
||||
|
||||
iavMappings.Add(typeof(ImageObject3D), new List<InteractionVolume> { new MoveInZControlTest(this) });
|
||||
iavMappings.Add(typeof(ImageObject3D), new List<InteractionVolume> { new MoveInZControl(this) });
|
||||
|
||||
// Register listeners
|
||||
sceneContext.Scene.SelectionChanged += this.Scene_SelectionChanged;
|
||||
|
|
@ -129,6 +129,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
registeredIAVolumes.Add(interactionVolume);
|
||||
}
|
||||
|
||||
public void RegisterIAVolumes(IEnumerable<InteractionVolume> interactionVolumes)
|
||||
{
|
||||
registeredIAVolumes.AddRange(interactionVolumes);
|
||||
}
|
||||
|
||||
public IEnumerable<IDrawable> Drawables => drawables;
|
||||
|
||||
public IEnumerable<IDrawableItem> ItemDrawables => itemDrawables;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue