Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-11-07 18:36:24 +0300
committerYuSanka <yusanka@gmail.com>2019-11-07 18:36:24 +0300
commitf2120c11227bafa5fa8d3f32e865eebe5c95d92d (patch)
tree04a296610d85d3590e9f615306011ac0f23af2c0 /src/slic3r/GUI/GLCanvas3D.hpp
parent72852ffab59574049afe144a8388f9c31d55942a (diff)
Fixed a sequence of the legend items
Diffstat (limited to 'src/slic3r/GUI/GLCanvas3D.hpp')
-rw-r--r--src/slic3r/GUI/GLCanvas3D.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GLCanvas3D.hpp b/src/slic3r/GUI/GLCanvas3D.hpp
index 01d109fd6..43de4b35b 100644
--- a/src/slic3r/GUI/GLCanvas3D.hpp
+++ b/src/slic3r/GUI/GLCanvas3D.hpp
@@ -348,8 +348,10 @@ private:
void fill_color_print_legend_values(const GCodePreviewData& preview_data, const GLCanvas3D& canvas,
std::vector<std::pair<double, double>>& cp_legend_values);
- void fill_color_print_legend_items(const GCodePreviewData& preview_data, const GLCanvas3D& canvas,
- std::vector<std::string>& cp_legend_items);
+ void fill_color_print_legend_items(const GLCanvas3D& canvas,
+ const std::vector<float>& colors_in,
+ std::vector<float>& colors,
+ std::vector<std::string>& cp_legend_items);
bool generate(const GCodePreviewData& preview_data, const std::vector<float>& tool_colors, const GLCanvas3D& canvas, bool compress);