Add redirectable ParentSurface property

This commit is contained in:
John Lewin 2017-07-10 16:28:26 -07:00
parent ae93fedc46
commit 903347e5bd
3 changed files with 27 additions and 7 deletions

View file

@ -47,7 +47,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
this.view3DWidget = view3DWidget;
this.DrawOnTop = true;
MeshViewerToDrawWith.AfterDraw += MeshViewerToDrawWith_Draw;
MeshViewerToDrawWith.ParentSurface.AfterDraw += MeshViewerToDrawWith_Draw;
}
public override void SetPosition(IObject3D selectedItem)