Do not block writing gizmo activate snapshot

This commit is contained in:
Filip Sykala - NTB T15p 2022-11-09 12:10:14 +01:00
parent 4e43a1f6a0
commit d77e25f822

View File

@ -155,7 +155,7 @@ void EmbossCreateVolumeJob::finalize(bool canceled, std::exception_ptr &eptr) {
if (objects.size() <= object_idx) if (objects.size() <= object_idx)
return; return;
Plater::TakeSnapshot snapshot(plater, _L("Add Emboss text Volume")); plater->take_snapshot(_L("Add Emboss text Volume"));
ModelObject *obj = objects[object_idx]; ModelObject *obj = objects[object_idx];
ModelVolumeType type = m_input.volume_type; ModelVolumeType type = m_input.volume_type;
@ -258,7 +258,7 @@ void EmbossCreateObjectJob::finalize(bool canceled, std::exception_ptr &eptr)
ObjectList *obj_list = app.obj_list(); ObjectList *obj_list = app.obj_list();
GLCanvas3D *canvas = plater->canvas3D(); GLCanvas3D *canvas = plater->canvas3D();
Plater::TakeSnapshot snapshot(plater, _L("Add Emboss text object")); plater->take_snapshot(_L("Add Emboss text object"));
// Create new object and change selection // Create new object and change selection
bool center = false; bool center = false;