Follow-up of 2c6472ebc3 -> Ensure backward compatibility

This commit is contained in:
enricoturri1966 2021-04-28 16:06:49 +02:00
parent 1863d622b5
commit 9086542a08

View file

@ -349,7 +349,7 @@ ExtrusionRole ExtrusionEntity::string_to_role(const std::string_view role)
return erBridgeInfill;
else if (role == L("Gap fill"))
return erGapFill;
else if (role == L("Skirt/Brim"))
else if (role == L("Skirt") || role == L("Skirt/Brim")) // "Skirt" is for backward compatibility with 2.3.1 and earlier
return erSkirt;
else if (role == L("Support material"))
return erSupportMaterial;