update slic3r

This commit is contained in:
QIDI TECH
2025-05-08 15:05:30 +08:00
parent 126534997a
commit 011619cf23
307 changed files with 55594 additions and 19386 deletions

View File

@@ -265,7 +265,7 @@ private:
std::optional<std::pair<Vec3d, double>> m_bounding_sphere;
#if ENABLE_RENDER_SELECTION_CENTER
GLModel m_vbo_sphere;
mutable GLModel m_vbo_sphere;
#endif // ENABLE_RENDER_SELECTION_CENTER
GLModel m_arrow;
@@ -279,6 +279,8 @@ private:
bool m_volume_selection_locked { false };
std::vector<Transform3d> m_trafo_matrices;
mutable GLModel m_bounding_box_model;
mutable GLModel m_sidebar_layers_hints_model;
public:
Selection();
@@ -496,11 +498,12 @@ private:
void render_selected_volumes() const;
void render_synchronized_volumes() const;
void render_bounding_box(const BoundingBoxf3& box, float* color) const;
void render_sidebar_position_hints(const std::string& sidebar_field) const;
void render_sidebar_rotation_hints(const std::string& sidebar_field) const;
void render_sidebar_position_hints(const std::string& sidebar_field, GLShaderProgram& shader, const Transform3d& model_matrix) const;
void render_sidebar_rotation_hints(const std::string& sidebar_field, GLShaderProgram& shader, const Transform3d& model_matrix) const;
//QDS: GUI refactor: add uniform_scale from gizmo
void render_sidebar_scale_hints(const std::string& sidebar_field, bool gizmo_uniform_scale) const;
void render_sidebar_layers_hints(const std::string& sidebar_field) const;
void render_sidebar_scale_hints(const std::string& sidebar_field, bool gizmo_uniform_scale, GLShaderProgram& shader, const Transform3d& model_matrix) const;
void render_sidebar_layers_hints(GLShaderProgram& shader, const std::string& sidebar_field) const;
void init_bounding_box_model() const;
public:
enum class SyncRotationType {