From 5b9674b578b372561936a575dbbf2a31cfb39de0 Mon Sep 17 00:00:00 2001 From: thysson2701 Date: Tue, 21 Jul 2026 22:58:06 +0200 Subject: [PATCH] fix(build): sync GLCanvas3D.hpp render_overlay/is_camera_* signatures with ImageMap cpp --- src/slic3r/GUI/GLCanvas3D.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.hpp b/src/slic3r/GUI/GLCanvas3D.hpp index 2a85a5972b3..55f95062aca 100644 --- a/src/slic3r/GUI/GLCanvas3D.hpp +++ b/src/slic3r/GUI/GLCanvas3D.hpp @@ -290,8 +290,8 @@ class GLCanvas3D bool is_enabled() const { return m_enabled; } void set_enabled(bool enabled) { m_enabled = is_allowed() && enabled; } - void render_variable_layer_height_dialog(GLCanvas3D& canvas); - void render_overlay(GLCanvas3D& canvas); + void render_variable_layer_height_dialog(const GLCanvas3D& canvas); + void render_overlay(const GLCanvas3D& canvas); void render_volumes(const GLCanvas3D& canvas, const GLVolumeCollection& volumes); void adjust_layer_height_profile(); @@ -1047,8 +1047,8 @@ public: enum class MouseButton { None, Left, Middle, Right }; enum class MouseAction { None, Pan, Rotation }; bool clicked_button_matches_action(const wxMouseEvent& evt, MouseAction action, const std::map& mappings) const; - bool is_camera_rotate(const wxMouseEvent& evt, const std::map& mappings) const; - bool is_camera_pan(const wxMouseEvent& evt, const std::map& mappings) const; + bool is_camera_rotate(const wxMouseEvent& evt, const bool buttonsSwapped) const; + bool is_camera_pan(const wxMouseEvent& evt, const bool buttonsSwapped) const; Size get_canvas_size() const; Vec2d get_local_mouse_position() const;