mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-20 01:12:09 +00:00
ENH: add log_dir at the beginning of init
JIRA: STUDIO-4895 Change-Id: I1eb1c4cee0383a01a6bacd2a70d7989bfb59006a
This commit is contained in:
@@ -2892,14 +2892,16 @@ __retry:
|
||||
|
||||
if (create_network_agent) {
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(", create network agent...");
|
||||
m_agent = new Slic3r::NetworkAgent();
|
||||
//std::string data_dir = wxStandardPaths::Get().GetUserDataDir().ToUTF8().data();
|
||||
std::string data_directory = data_dir();
|
||||
|
||||
m_agent = new Slic3r::NetworkAgent(data_directory);
|
||||
|
||||
if (!m_device_manager)
|
||||
m_device_manager = new Slic3r::DeviceManager(m_agent);
|
||||
else
|
||||
m_device_manager->set_agent(m_agent);
|
||||
//std::string data_dir = wxStandardPaths::Get().GetUserDataDir().ToUTF8().data();
|
||||
std::string data_directory = data_dir();
|
||||
|
||||
|
||||
//BBS set config dir
|
||||
if (m_agent) {
|
||||
|
||||
Reference in New Issue
Block a user