mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-31 20:51:12 -06:00
Disabling calls from libslic3r to slic3r gui.
This commit is contained in:
parent
0558b53493
commit
6bd92a8198
5 changed files with 11 additions and 4 deletions
|
|
@ -667,7 +667,8 @@ namespace Slic3r {
|
|||
add_error("Error while reading config data to buffer");
|
||||
return;
|
||||
}
|
||||
bundle.load_config_string(buffer.data(), archive_filename.c_str());
|
||||
//FIXME Get rid of the dependencies on slic3r GUI library!
|
||||
// bundle.load_config_string(buffer.data(), archive_filename.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -467,7 +467,8 @@ void AMFParserContext::endElement(const char * /* name */)
|
|||
|
||||
case NODE_TYPE_METADATA:
|
||||
if ((m_preset_bundle != nullptr) && strncmp(m_value[0].c_str(), SLIC3R_CONFIG_TYPE, strlen(SLIC3R_CONFIG_TYPE)) == 0) {
|
||||
m_preset_bundle->load_config_string(m_value[1].c_str(), m_archive_filename.c_str());
|
||||
//FIXME Get rid of the dependencies on slic3r GUI library!
|
||||
// m_preset_bundle->load_config_string(m_value[1].c_str(), m_archive_filename.c_str());
|
||||
}
|
||||
else if (strncmp(m_value[0].c_str(), "slic3r.", 7) == 0) {
|
||||
const char *opt_key = m_value[0].c_str() + 7;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define slic3r_GLToolbar_hpp_
|
||||
|
||||
#include "../../slic3r/GUI/GLTexture.hpp"
|
||||
#include "../../callback.hpp"
|
||||
#include "callback.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
#include "PrintConfig.hpp"
|
||||
#include "../../callback.hpp"
|
||||
#include "callback.hpp"
|
||||
#include "GUI_ObjectParts.hpp"
|
||||
|
||||
#include <wx/intl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue