FIX: update the filament name

jira: [STUDIO-10348]
Change-Id: Id2762188eaf84ad7534a3d6063e0df8c000dd817
(cherry picked from commit d30ca5baa0f8caab10d4702347907e9fe5274eb2)
This commit is contained in:
xin.zhang
2025-02-13 09:16:16 +08:00
committed by Noisyfox
parent 686825b584
commit b8220bb81f
2 changed files with 17 additions and 3 deletions

View File

@@ -67,6 +67,20 @@ public:
return -1;
};
/*copied from AmsTray::get_display_filament_type()*/
std::string get_display_filament_type()
{
if (type == "PLA-S")
return "Sup.PLA";
else if (type == "PA-S")
return "Sup.PA";
else if (type == "ABS-S")
return "Sup.ABS";
else
return type;
return type;
}
};
class BBLSliceInfo {