mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Attempt to fix build on OsX
This commit is contained in:
parent
27b9f85607
commit
277b340481
5 changed files with 4 additions and 11 deletions
|
@ -1,3 +1,6 @@
|
|||
#if ENABLE_GCODE_VIEWER
|
||||
#include "libslic3r/libslic3r.h"
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
#include "wxExtensions.hpp"
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
#include "libslic3r/GCode.hpp"
|
||||
|
@ -1950,7 +1953,7 @@ std::string TickCodeInfo::get_color_for_tick(TickCode tick, const std::string& c
|
|||
if (mode == t_mode::SingleExtruder && code == ColorChangeCode && m_use_default_colors)
|
||||
{
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
const std::vector<std::string>& colors = Slic3r::ColorPrintColors::get();
|
||||
const std::vector<std::string>& colors = ColorPrintColors::get();
|
||||
#else
|
||||
const std::vector<std::string>& colors = GCodePreviewData::ColorPrintColors();
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue