mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed call to reset_legend_texture() made on hidden canvas
This commit is contained in:
parent
01ba59158d
commit
7977bce98d
5 changed files with 14 additions and 14 deletions
|
@ -2293,9 +2293,9 @@ void _3DScene::load_preview(wxGLCanvas* canvas, const std::vector<std::string>&
|
|||
s_canvas_mgr.load_preview(canvas, str_tool_colors);
|
||||
}
|
||||
|
||||
void _3DScene::reset_legend_texture()
|
||||
void _3DScene::reset_legend_texture(wxGLCanvas* canvas)
|
||||
{
|
||||
s_canvas_mgr.reset_legend_texture();
|
||||
s_canvas_mgr.reset_legend_texture(canvas);
|
||||
}
|
||||
|
||||
} // namespace Slic3r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue