Fixed object position after loading

This commit is contained in:
Enrico Turri 2018-10-03 16:18:23 +02:00
parent 6369e469c0
commit b3c09a9254
2 changed files with 12 additions and 4 deletions

View file

@ -315,6 +315,7 @@ bool GLCanvas3D::Bed::set_shape(const Pointfs& shape)
if (m_shape == shape && m_type == new_type)
// No change, no need to update the UI.
return false;
m_shape = shape;
m_type = new_type;