diff options
author | bubnikv <bubnikv@gmail.com> | 2018-11-21 15:52:46 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-11-21 15:52:46 +0300 |
commit | a21f1783a97e72d5c01024b594e370e71da62e38 (patch) | |
tree | 2a48199b2ccfd11a80c272adf8cecf8646cec4a9 /src/slic3r/GUI/GLCanvas3DManager.hpp | |
parent | bc9de8956a1d58d0773d595bec06d9609d884997 (diff) |
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.
Diffstat (limited to 'src/slic3r/GUI/GLCanvas3DManager.hpp')
-rw-r--r-- | src/slic3r/GUI/GLCanvas3DManager.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GLCanvas3DManager.hpp b/src/slic3r/GUI/GLCanvas3DManager.hpp index ead7945d5..881befa1b 100644 --- a/src/slic3r/GUI/GLCanvas3DManager.hpp +++ b/src/slic3r/GUI/GLCanvas3DManager.hpp @@ -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); |