Tweak tool fidelity adding too much nodes

Issue separated from #2663 (moved)

Summary:

Number of added nodes is not linear with fidelity : up to 80, OK. Between 80 and 100 their number grow exponentially and unnecessarily.

Steps to reproduce:

  • open Inkscape
  • draw a circle
  • object to path (4 nodes)
  • Tweak tool > push with fidelity 100
  • do some tweaking on the circle

What happened?

355 nodes for the new shape

tweak_issue_too_many_nodes

What should have happened?

reasonable number of nodes (and only where tool was applied but see #2663 (moved))

Version info

1.4.2 on win 11