mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: store 3mf metadata info to a map
Change-Id: I17700b1c4a7e47b017d18815e76b4b9bed5c9de4 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
cb5f5a26cf
commit
cb83284b24
2 changed files with 45 additions and 47 deletions
|
@ -1233,12 +1233,7 @@ public:
|
|||
std::string copyright; // utf8 format
|
||||
std::string model_name; // utf8 format
|
||||
|
||||
struct MetaDataItem
|
||||
{
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
std::vector<MetaDataItem> metadata_items; // other meta data items
|
||||
std::map<std::string, std::string> metadata_items; // other meta data items
|
||||
|
||||
void load(ModelInfo &info) {
|
||||
this->cover_file = info.cover_file;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue