operations: npd: allow to set rigidity to 0

It should be useful in situation when we just want to
redraw previously deformed image (without continuing
to deform it).