Fix place on bed and sinking instances:

all sinking objects were incorrectly shifted to bed when
'place on face' was applied to any object.
This commit is contained in:
Lukas Matena 2021-08-12 10:17:59 +02:00
parent 52718e96f5
commit 021688fe50
2 changed files with 13 additions and 6 deletions

View file

@ -42,6 +42,8 @@ std::string GLGizmoFlatten::on_get_name() const
bool GLGizmoFlatten::on_is_activable() const
{
// This is assumed in GLCanvas3D::do_rotate, do not change this
// without updating that function too.
return m_parent.get_selection().is_single_full_instance();
}