mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Forcing a print bed update after config or config bundle is loaded.
The solution is hackish, but a major refactoring would be needed to avoid multiple refreshes of the print bed, and to avoid expensive checks at Plater::on_config_change() every time a config value changes at a parameter tab.
This commit is contained in:
parent
fd11dcd44b
commit
d937ac1ed3
4 changed files with 13 additions and 9 deletions
|
@ -227,9 +227,9 @@ public:
|
|||
void on_extruders_change(size_t extruders_count);
|
||||
void on_config_change(const DynamicPrintConfig &config);
|
||||
void force_filament_colors_update();
|
||||
void force_print_bed_update();
|
||||
// On activating the parent window.
|
||||
void on_activate();
|
||||
const DynamicPrintConfig* get_plater_config() const;
|
||||
std::vector<std::string> get_extruder_colors_from_plater_config() const;
|
||||
std::vector<std::string> get_colors_for_color_print() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue