Do not block writing gizmo activate snapshot
This commit is contained in:
parent
4e43a1f6a0
commit
d77e25f822
@ -155,7 +155,7 @@ void EmbossCreateVolumeJob::finalize(bool canceled, std::exception_ptr &eptr) {
|
||||
if (objects.size() <= object_idx)
|
||||
return;
|
||||
|
||||
Plater::TakeSnapshot snapshot(plater, _L("Add Emboss text Volume"));
|
||||
plater->take_snapshot(_L("Add Emboss text Volume"));
|
||||
|
||||
ModelObject *obj = objects[object_idx];
|
||||
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();
|
||||
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
|
||||
bool center = false;
|
||||
|
Loading…
Reference in New Issue
Block a user