diff options
author | Mike Erwin <significant.bit@gmail.com> | 2011-07-01 07:44:03 +0400 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2011-07-01 07:44:03 +0400 |
commit | 893bf5f81a2a7b7306461cd3c9b5c00b1796bb2d (patch) | |
tree | df060c11b8cc73b25cb1e5ca136acbe8d16b2148 /source/blender/editors/space_view3d | |
parent | 20de4f27b6be5b4494e1338fe737cf2df42a283e (diff) |
verbose ndof event trace for a tester
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index b334ed91df6..42a41be05e0 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -997,6 +997,11 @@ static int viewndof_invoke(bContext *C, wmOperator *op, wmEvent *event) /* TODO: replace such guesswork with a flag or field from the NDOF manager */ ndof->dt = dt = 0.0125f; + #define DEBUG_NDOF_MOTION + #ifdef DEBUG_NDOF_MOTION + printf("ndof: T=(%.2f,%.2f,%.2f) R=(%.2f,%.2f,%.2f) dt=%.3f delivered to 3D view\n", + ndof->tx, ndof->ty, ndof->tz, ndof->rx, ndof->ry, ndof->rz, ndof->dt); + #endif if (ndof->tz) { // Zoom! |