mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Context menu is extended for multiple material printing
This commit is contained in:
parent
8e6bb7c20d
commit
5c2b5a167b
4 changed files with 125 additions and 34 deletions
|
@ -836,8 +836,8 @@ GLCanvas3D::LegendTexture::LegendTexture()
|
|||
void GLCanvas3D::LegendTexture::fill_color_print_legend_values(const GCodePreviewData& preview_data, const GLCanvas3D& canvas,
|
||||
std::vector<std::pair<double, double>>& cp_legend_values)
|
||||
{
|
||||
if (preview_data.extrusion.view_type == GCodePreviewData::Extrusion::ColorPrint &&
|
||||
wxGetApp().extruders_edited_cnt() == 1) // show color change legend only for single-material presets
|
||||
if (preview_data.extrusion.view_type == GCodePreviewData::Extrusion::ColorPrint /*&&
|
||||
wxGetApp().extruders_edited_cnt() == 1*/) // show color change legend only for single-material presets
|
||||
{
|
||||
/*
|
||||
// #ys_FIXME_COLOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue