Merge pull request #3972 from larsbrubaker/master
Show mass based on density
This commit is contained in:
commit
b2a479a10f
2 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
public static string EstimatedMass(this GCodeFile loadedGCode, PrinterConfig printer)
|
||||
{
|
||||
var totalMass = TotalCost(loadedGCode, printer);
|
||||
var totalMass = TotalMass(loadedGCode, printer);
|
||||
return totalMass <= 0 ? "Unknown" : string.Format("{0:0.00} g", totalMass);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ac9ff0914ad8b0a2c379ef47657f051f4e1edfa0
|
||||
Subproject commit 0f74039caf61f41e358eabd700417331f544d264
|
||||
Loading…
Add table
Add a link
Reference in a new issue