mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 13:47:59 -06:00
Changed logic to avoid saving a project while a gizmo is in editing mode
This commit is contained in:
parent
580dc890b8
commit
1d4f7a8870
2 changed files with 12 additions and 4 deletions
|
@ -5371,8 +5371,7 @@ bool Plater::export_3mf(const boost::filesystem::path& output_path)
|
|||
void Plater::export_3mf(const boost::filesystem::path& output_path)
|
||||
#endif // ENABLE_PROJECT_DIRTY_STATE
|
||||
{
|
||||
if (p->model.objects.empty()
|
||||
|| canvas3D()->get_gizmos_manager().is_in_editing_mode(true))
|
||||
if (p->model.objects.empty())
|
||||
#if ENABLE_PROJECT_DIRTY_STATE
|
||||
return false;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue