Skip to content

Commit b64d0ee

Browse files
committed
do not remesh in pivoting mode
1 parent e5a5cdc commit b64d0ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_deformation/Scene_edit_polyhedron_item.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,9 @@ bool Scene_edit_polyhedron_item::eventFilter(QObject* /*target*/, QEvent *event)
613613
const QPoint& p = viewer->mapFromGlobal(QCursor::pos());
614614
bool need_repaint = activate_closest_manipulated_frame(p.x(), p.y());
615615

616-
if (ctrl_released_now && ui_widget->RemeshingCheckBox->isChecked()){
616+
if (!ui_widget->ActivatePivotingCheckBox->isChecked() &&
617+
ctrl_released_now && ui_widget->RemeshingCheckBox->isChecked())
618+
{
617619
remesh();
618620
}
619621

0 commit comments

Comments
 (0)