| 8 | #include "GCodeFileInfo.h" |
| 9 | |
| 10 | void GCodeFileInfo::Init() noexcept |
| 11 | { |
| 12 | isValid = false; |
| 13 | incomplete = true; |
| 14 | objectHeight = 0.0; |
| 15 | layerHeight = 0.0; |
| 16 | numLayers = 0; |
| 17 | printTime = simulatedTime = 0; |
| 18 | numFilaments = 0; |
| 19 | lastModifiedTime = 0; |
| 20 | generatedBy.Clear(); |
| 21 | fileSize = 0; |
| 22 | headerSize = 0; |
| 23 | for (float& f : filamentNeeded) |
| 24 | { |
| 25 | f = 0.0; |
| 26 | } |
| 27 | for (ThumbnailInfo& th : thumbnails) |
| 28 | { |
| 29 | th.Invalidate(); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // End |
nothing calls this directly
no test coverage detected