mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Use frontend data to update labels
This commit is contained in:
parent
3981e25f75
commit
c6ca180142
3 changed files with 10 additions and 10 deletions
|
@ -40,9 +40,6 @@ class GCodePreviewData;
|
|||
struct ThumbnailData;
|
||||
#endif // ENABLE_THUMBNAIL_GENERATOR
|
||||
struct SlicingParameters;
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
struct PrintInstance;
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
enum LayerHeightEditActionType : unsigned int;
|
||||
|
||||
namespace GUI {
|
||||
|
@ -390,7 +387,7 @@ private:
|
|||
void enable(bool enable) { m_enabled = enable; }
|
||||
void show(bool show) { m_shown = m_enabled ? show : false; }
|
||||
bool is_shown() const { return m_shown; }
|
||||
void render(const std::vector<const PrintInstance*>& sorted_instances) const;
|
||||
void render(const std::vector<const ModelInstance*>& sorted_instances) const;
|
||||
};
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue