-
- Downloads
Workaround problematic motion events
In some rare cases the action index may not be a index into getPointerId. To workaround this issue do the following 1) Change the semnatics of HandleMotionEvent to use the pointer id directly rather than looking up from index in C code. 2) Wrap the java code in a try/catch to catch invalid motion events.
Showing
- Examples/Android/JavaVTK/jni/main.cxx 2 additions, 1 deletionExamples/Android/JavaVTK/jni/main.cxx
- Examples/Android/JavaVTK/src/com/kitware/JavaVTK/JavaVTKView.java 25 additions, 21 deletions.../Android/JavaVTK/src/com/kitware/JavaVTK/JavaVTKView.java
- Rendering/OpenGL2/vtkAndroidRenderWindowInteractor.cxx 10 additions, 8 deletionsRendering/OpenGL2/vtkAndroidRenderWindowInteractor.cxx
- Rendering/OpenGL2/vtkAndroidRenderWindowInteractor.h 1 addition, 1 deletionRendering/OpenGL2/vtkAndroidRenderWindowInteractor.h
Loading
Please register or sign in to comment