Made the save button be on the edit bar.

Made the up arrow cause save to show.
This commit is contained in:
Lars Brubaker 2014-12-12 12:57:44 -08:00
parent 7ffdbcbba8
commit 47fed001ec
6 changed files with 67 additions and 59 deletions

View file

@ -47,10 +47,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
double zHitHeight;
Vector3 lastMoveDelta;
PlaneShape hitPlane;
View3DWidget view3DWidget;
public UpArrow3D(MeshViewerWidget meshViewerToDrawWith)
: base(null, meshViewerToDrawWith)
public UpArrow3D(View3DWidget view3DWidget)
: base(null, view3DWidget.meshViewerWidget)
{
this.view3DWidget = view3DWidget;
string arrowFile = Path.Combine("Icons", "3D Icons", "up_pointer.stl");
if (StaticData.Instance.FileExists(arrowFile))
{
@ -109,6 +111,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
lastMoveDelta = delta;
view3DWidget.PartHasBeenChanged();
Invalidate();
}