bugfix merge

This commit is contained in:
supermerill 2019-02-12 10:54:45 +01:00
parent 95a6ea1477
commit a0628ff50b
2 changed files with 4 additions and 4 deletions

View File

@ -526,17 +526,17 @@ std::string GLCanvas3D::Bed::_detect_type() const
{
if (boost::contains(curr->name, "SL1"))
{
type = SL1;
type = "SL1";
break;
}
else if (boost::contains(curr->name, "MK3") || boost::contains(curr->name, "MK2.5"))
{
type = MK3;
type = "MK3";
break;
}
else if (boost::contains(curr->name, "MK2"))
{
type = MK2;
type = "MK2";
break;
}
}

View File

@ -227,7 +227,7 @@ class GLCanvas3D
Bed();
#if ENABLE_REWORKED_BED_SHAPE_CHANGE
EType get_type() const { return m_type; }
std::string get_type() const { return m_type; }
#endif // ENABLE_REWORKED_BED_SHAPE_CHANGE
bool is_prusa() const;