mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed export/import from/to amf and 3mf file.
This commit is contained in:
parent
629584e28f
commit
43cfd44864
5 changed files with 80 additions and 43 deletions
|
@ -34,20 +34,6 @@ namespace Search {
|
|||
#define SEARCH_SUPPORTS_MARKUP
|
||||
#endif
|
||||
|
||||
static const std::vector<std::wstring>& NameByType()
|
||||
{
|
||||
static std::vector<std::wstring> data;
|
||||
if (data.empty()) {
|
||||
data.assign(Preset::TYPE_COUNT, std::wstring());
|
||||
data[Preset::TYPE_PRINT ] = _L("Print" ).ToStdWstring();
|
||||
data[Preset::TYPE_FILAMENT ] = _L("Filament" ).ToStdWstring();
|
||||
data[Preset::TYPE_SLA_MATERIAL ] = _L("Material" ).ToStdWstring();
|
||||
data[Preset::TYPE_SLA_PRINT ] = _L("Print" ).ToStdWstring();
|
||||
data[Preset::TYPE_PRINTER ] = _L("Printer" ).ToStdWstring();
|
||||
};
|
||||
return data;
|
||||
}
|
||||
|
||||
static char marker_by_type(Preset::Type type, PrinterTechnology pt)
|
||||
{
|
||||
switch(type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue