Fixed call to reset_legend_texture() made on hidden canvas

This commit is contained in:
Enrico Turri committed 2018-10-02 14:12:23 +02:00
1 parent 01ba59158d
commit 7977bce98d
5 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -602,7 +602,7 @@ public:
static void load_gcode_preview(wxGLCanvas* canvas, const GCodePreviewData* preview_data, const std::vector<std::string>& str_tool_colors);
static void load_preview(wxGLCanvas* canvas, const std::vector<std::string>& str_tool_colors);
static void reset_legend_texture();
static void reset_legend_texture(wxGLCanvas* canvas);
static void thick_lines_to_verts(const Lines& lines, const std::vector<double>& widths, const std::vector<double>& heights, bool closed, double top_z, GLVolume& volume);
static void thick_lines_to_verts(const Lines3& lines, const std::vector<double>& widths, const std::vector<double>& heights, bool closed, GLVolume& volume);