Added force_full_scene_refresh parameter to the 3DScene::refresh()

function to force a refresh of all GLVolumes. Currently this hack
is used by the Platter::arrange() function only, and ideally
we should replace this parameter with a smarter 3DScene::refresh()
function, which would check for the transformation matrices as well.
This commit is contained in:
bubnikv 2018-11-21 13:52:46 +01:00
parent bc9de8956a
commit a21f1783a9
7 changed files with 16 additions and 16 deletions

View file

@ -141,7 +141,7 @@ public:
void mirror_selection(wxGLCanvas* canvas, Axis axis);
void reload_scene(wxGLCanvas* canvas, bool force);
void reload_scene(wxGLCanvas* canvas, bool refresh_immediately, bool force_full_scene_refresh = false);
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);