mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Only regenerate bed triangles if actually changed (#3039)
* Remove unused bed texture * Only regenerate bed triangles if actually changed
This commit is contained in:
parent
d24aef36ae
commit
f598a1209a
2 changed files with 8 additions and 5 deletions
|
@ -98,7 +98,7 @@ private:
|
|||
//Polygon m_polygon;
|
||||
GLModel m_triangles;
|
||||
//GLModel m_gridlines;
|
||||
GLTexture m_texture;
|
||||
// GLTexture m_texture;
|
||||
// temporary texture shown until the main texture has still no levels compressed
|
||||
//GLTexture m_temp_texture;
|
||||
GLModel m_model;
|
||||
|
@ -154,7 +154,7 @@ private:
|
|||
//BBS: add partplate related logic
|
||||
// Calculate an extended bounding box from axes and current model for visualization purposes.
|
||||
BoundingBoxf3 calc_extended_bounding_box(bool consider_model_offset = true) const;
|
||||
void update_model_offset() const;
|
||||
void update_model_offset();
|
||||
//BBS: with offset
|
||||
void update_bed_triangles();
|
||||
static std::tuple<Type, std::string, std::string> detect_type(const Pointfs& shape);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue