FIX:delete useless code

jira: none
Change-Id: I036cc0d18ad67a46db159537680943dfa1236538
This commit is contained in:
zhou.xu 2024-09-10 19:49:19 +08:00 committed by Lane.Wei
parent 9541e2d05e
commit 811e257936
1 changed files with 1 additions and 2 deletions

View File

@ -120,8 +120,7 @@ void _update_volume(TriangleMesh &&mesh, const DataUpdate &data, const Transform
Plater *plater = wxGetApp().plater();
// Check gizmo is still open otherwise job should be canceled
assert(plater->canvas3D()->get_gizmos_manager().get_current_type() == GLGizmosManager::Emboss ||
plater->canvas3D()->get_gizmos_manager().get_current_type() == GLGizmosManager::Svg);
assert(plater->canvas3D()->get_gizmos_manager().get_current_type() == GLGizmosManager::Svg);
if (data.make_snapshot) {
// TRN: This is the title of the action appearing in undo/redo stack.