mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed update of ModelObject / ModelVolume configs on Print,
fixed some compiler warnings.
This commit is contained in:
parent
0555fb4bcc
commit
3075e7f40f
3 changed files with 41 additions and 12 deletions
|
@ -497,7 +497,7 @@ using ShapeData2D =
|
|||
ShapeData2D projectModelFromTop(const Slic3r::Model &model) {
|
||||
ShapeData2D ret;
|
||||
|
||||
auto s = std::accumulate(model.objects.begin(), model.objects.end(), 0,
|
||||
auto s = std::accumulate(model.objects.begin(), model.objects.end(), size_t(0),
|
||||
[](size_t s, ModelObject* o){
|
||||
return s + o->instances.size();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue