Holed bottom height on scale
Better display of z height info (show extra decimal when required)
This commit is contained in:
parent
0deb11e6e7
commit
c7ec4eef9c
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
return false;
|
||||
}
|
||||
,
|
||||
GetDisplayString = (value) => "{0:0.0}mm".FormatWith(value)
|
||||
GetDisplayString = (value) => "{0:0.0#}mm".FormatWith(value)
|
||||
};
|
||||
|
||||
zHeightDisplayInfo.VisibleChanged += (s, e) =>
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
// keep the bottom where it was
|
||||
AxisAlignedBoundingBox scaledBounds = selectedItem.GetAxisAlignedBoundingBox(Matrix4X4.Identity);
|
||||
PlatingHelper.PlaceMeshAtHeight(selectedItem, scaledBounds.minXYZ.Z);
|
||||
PlatingHelper.PlaceMeshAtHeight(selectedItem, originalMeshBounds.minXYZ.Z);
|
||||
|
||||
Invalidate();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue