Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslic3r/SLAPrint.cpp')
-rw-r--r--src/libslic3r/SLAPrint.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp
index 11900f309..66c7b2e7f 100644
--- a/src/libslic3r/SLAPrint.cpp
+++ b/src/libslic3r/SLAPrint.cpp
@@ -678,6 +678,12 @@ void SLAPrint::set_printer(SLAPrinter *arch)
m_printer = arch;
}
+void SLAPrint::set_printer(std::shared_ptr<SLAPrinter> arch)
+{
+ this->set_printer(arch.get());
+ m_printer_ref = arch; // add this so that the reference count is increased.
+}
+
bool SLAPrint::invalidate_step(SLAPrintStep step)
{
bool invalidated = Inherited::invalidate_step(step);
@@ -839,6 +845,7 @@ bool SLAPrint::invalidate_state_by_config_options(const std::vector<t_config_opt
"max_print_height",
"printer_technology",
"output_filename_format",
+ "output_format",
"fast_tilt_time",
"slow_tilt_time",
"area_fill",