Fix copy-paste error with dihedral angle.

Coverity scan found a minor bug forcing repaint of dihedrals.

Change-Id: I27f3bcb2296423f4b783b47b1a581eb4ca4bf044
Merge topic 'FIX_dihedral-error' into master

e26558fc Fix copy-paste error with dihedral angle.