Skip to content

fix(viz): fix shape extruder not working with touchscreen

Description

In SShapeExtruder::buttonDoublePressEvent, there was a check that only extruded the image if the double click was close enough to an existing point of the lasso. This check seems to always succeed when using the mouse and to always fail when using the touchscreen. I removed this check to make the shape extruder work with touchscreen, as the purpose of this check is pretty obscure anyway.

Closes #1077 (closed)

How to test it?

  • Launch SightViewer
  • Start an extrusion
  • Double-clicking to finish the extrusion still works
  • Launch SightViewer with a touchscreen
  • Start an extrusion
  • Double-tapping to finish the extrusion now works

Merge request reports