mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Fixed a sequence of the legend items
This commit is contained in:
parent
72852ffab5
commit
f2120c1122
5 changed files with 75 additions and 31 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue