mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
Ported the G-code generator from Perl to C++.
Removed GCode.pm Removed the Perl bindigns for AvoidCrossingPerimeters, OozePrevention, SpiralVase, Wipe Changed the std::set of extruder IDs to vector of IDs. Removed some MSVC compiler warnings, removed obnoxious compiler warnings when compiling the Perl bindings.
This commit is contained in:
@@ -147,6 +147,9 @@ struct AMFParserContext
|
||||
Instance *m_instance;
|
||||
// Generic string buffer for vertices, face indices, metadata etc.
|
||||
std::string m_value[3];
|
||||
|
||||
private:
|
||||
AMFParserContext& operator=(AMFParserContext&);
|
||||
};
|
||||
|
||||
void AMFParserContext::startElement(const char *name, const char **atts)
|
||||
@@ -307,7 +310,7 @@ void AMFParserContext::characters(const XML_Char *s, int len)
|
||||
}
|
||||
}
|
||||
|
||||
void AMFParserContext::endElement(const char *name)
|
||||
void AMFParserContext::endElement(const char * /* name */)
|
||||
{
|
||||
switch (m_path.back()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user