mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed OSX build
This commit is contained in:
parent
c04be58648
commit
589ac889a3
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue