Skip to content
Snippets Groups Projects
Commit bc9d0a07 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix the fix

parent 7fd923ed
Branches
Tags
No related merge requests found
...@@ -192,8 +192,11 @@ trackball(double q[4], double p1x, double p1y, double p2x, double p2y) ...@@ -192,8 +192,11 @@ trackball(double q[4], double p1x, double p1y, double p2x, double p2y)
* Figure out how much to rotate around that axis. * Figure out how much to rotate around that axis.
*/ */
vsub(p1,p2,d); vsub(p1,p2,d);
t = vlength(d); if (CTX::instance()->trackballHyperbolicSheet)
t = vlength(d) / (2.0*TRACKBALLSIZE);
else
t = vlength(d);
/* /*
* Avoid problems with out-of-control values... * Avoid problems with out-of-control values...
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment