Show an error notification when attempting to save 3MF while editing SLA support points

The notification disappears when it is no longer valid.
This commit is contained in:
Lukas Matena 2021-03-02 11:47:09 +01:00
parent abd5a9a46e
commit 70573484c2
4 changed files with 13 additions and 5 deletions

View file

@ -5418,7 +5418,9 @@ void Plater::export_amf()
void Plater::export_3mf(const boost::filesystem::path& output_path)
{
if (p->model.objects.empty()) { return; }
if (p->model.objects.empty()
|| canvas3D()->get_gizmos_manager().is_in_editing_mode(true))
return;
wxString path;
bool export_config = true;