Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-11-21 15:52:46 +0300
committerbubnikv <bubnikv@gmail.com>2018-11-21 15:52:46 +0300
commita21f1783a97e72d5c01024b594e370e71da62e38 (patch)
tree2a48199b2ccfd11a80c272adf8cecf8646cec4a9 /src/slic3r/GUI/GLCanvas3DManager.hpp
parentbc9de8956a1d58d0773d595bec06d9609d884997 (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.hpp2
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);