Remove unused collisionVolume constructor parameter

This commit is contained in:
John Lewin 2017-07-12 22:12:08 -07:00
parent eb82189a92
commit a90e15ea14
4 changed files with 4 additions and 5 deletions

View file

@ -63,7 +63,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private bool HadClickOnControl;
public MoveInZControl(IInteractionVolumeContext context)
: base(null, context)
: base(context)
{
zHeightDisplayInfo = new ValueDisplayInfo()
{

View file

@ -53,7 +53,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
public SelectionShadow(IInteractionVolumeContext context)
: base(null, context)
: base(context)
{
}

View file

@ -44,7 +44,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private MeshSelectInfo meshSelectInfo;
public SnappingIndicators(IInteractionVolumeContext context, MeshSelectInfo currentSelectInfo)
: base(null, context)
: base(context)
{
this.DrawOnTop = true;
this.meshSelectInfo = currentSelectInfo;

View file

@ -50,9 +50,8 @@ namespace MatterHackers.MeshVisualizer
private bool mouseOver = false;
public InteractionVolume(IPrimitive collisionVolume, IInteractionVolumeContext meshViewerToDrawWith)
public InteractionVolume(IInteractionVolumeContext meshViewerToDrawWith)
{
this.CollisionVolume = collisionVolume;
this.InteractionContext = meshViewerToDrawWith;
}