Fixed gizmos overlay rendering/selection by adding GLGizmoBase::is_selectable() method

This commit is contained in:
Enrico Turri 2018-11-19 14:46:37 +01:00
parent d658d918d7
commit d322fa0fd5
4 changed files with 22 additions and 9 deletions

View file

@ -1779,6 +1779,11 @@ bool GLGizmoSlaSupports::on_is_activable(const GLCanvas3D::Selection& selection)
return (wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology() == ptSLA);
}
bool GLGizmoSlaSupports::on_is_selectable() const
{
return (wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology() == ptSLA);
}
std::string GLGizmoSlaSupports::on_get_name() const
{
return L("SLA Support Points");