Fixed call to reset_legend_texture() made on hidden canvas

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

View file

@ -154,7 +154,7 @@ public:
void load_gcode_preview(wxGLCanvas* canvas, const GCodePreviewData* preview_data, const std::vector<std::string>& str_tool_colors);
void load_preview(wxGLCanvas* canvas, const std::vector<std::string>& str_tool_colors);
void reset_legend_texture();
void reset_legend_texture(wxGLCanvas* canvas);
void register_on_viewport_changed_callback(wxGLCanvas* canvas, void* callback);
void register_on_double_click_callback(wxGLCanvas* canvas, void* callback);