d5f66ea925
this fixes the obvious problems but there are still some rotation jumping when clamping in some cases.
this fixes the obvious problems but there are still some rotation jumping when clamping in some cases.