mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 19:42:47 +00:00
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:
@@ -644,7 +644,7 @@ public:
|
||||
|
||||
static void mirror_selection(wxGLCanvas* canvas, Axis axis);
|
||||
|
||||
static void reload_scene(wxGLCanvas* canvas, bool force);
|
||||
static void reload_scene(wxGLCanvas* canvas, bool refresh_immediately, bool force_full_scene_refresh = false);
|
||||
|
||||
static void load_gcode_preview(wxGLCanvas* canvas, const GCodePreviewData* preview_data, const std::vector<std::string>& str_tool_colors);
|
||||
static void load_preview(wxGLCanvas* canvas, const std::vector<std::string>& str_tool_colors);
|
||||
|
||||
Reference in New Issue
Block a user