Change configuration bank name for SLA auto rotation

This commit is contained in:
tamasmeszaros committed 2021-04-07 12:51:02 +02:00
1 parent 33eec05f02
commit 4a9768cc7f
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -16,10 +16,10 @@ namespace Slic3r { namespace GUI {
void RotoptimizeJob::prepare()
{
std::string accuracy_str =
wxGetApp().app_config->get("rotoptimize", "accuracy");
wxGetApp().app_config->get("sla_auto_rotate", "accuracy");
std::string method_str =
wxGetApp().app_config->get("rotoptimize", "method_id");
wxGetApp().app_config->get("sla_auto_rotate", "method_id");
if (!accuracy_str.empty())
m_accuracy = std::stof(accuracy_str);