mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 06:09:03 +08:00
Fixed OSX build
This commit is contained in:
parent
c04be58648
commit
589ac889a3
@ -8,6 +8,7 @@
|
|||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
#include <tbb/parallel_for.h>
|
#include <tbb/parallel_for.h>
|
||||||
|
#include <boost/filesystem/path.hpp>
|
||||||
#include <boost/log/trivial.hpp>
|
#include <boost/log/trivial.hpp>
|
||||||
|
|
||||||
//#include <tbb/spin_mutex.h>//#include "tbb/mutex.h"
|
//#include <tbb/spin_mutex.h>//#include "tbb/mutex.h"
|
||||||
@ -1032,6 +1033,8 @@ bool SLAPrint::invalidate_state_by_config_options(const std::vector<t_config_opt
|
|||||||
|
|
||||||
void SLAPrint::fill_statistics()
|
void SLAPrint::fill_statistics()
|
||||||
{
|
{
|
||||||
|
// Estimated printing time
|
||||||
|
// A layers count o the highest object
|
||||||
int max_layers_cnt = 0;
|
int max_layers_cnt = 0;
|
||||||
for (SLAPrintObject * po : m_objects) {
|
for (SLAPrintObject * po : m_objects) {
|
||||||
if (max_layers_cnt < po->get_slice_index().size())
|
if (max_layers_cnt < po->get_slice_index().size())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user