Skip to content
This repository was archived by the owner on Mar 2, 2018. It is now read-only.

Commit 4662c57

Browse files
committed
Merge pull request #56 from googlesamples/release-furud
release furud
2 parents 338cb96 + 04749ae commit 4662c57

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

MotionTrackingJava/app/src/main/java/com/projecttango/experiments/javamotiontracking/MotionTrackingRajawaliRenderer.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,18 @@ public void onTouchEvent(MotionEvent motionEvent) {
118118
touchViewHandler.onTouchEvent(motionEvent);
119119
}
120120

121-
public void setFirstPersonView() {
121+
public synchronized void setFirstPersonView() {
122122
touchViewHandler.setFirstPersonView();
123+
mPoseUpdated = true;
123124
}
124125

125-
public void setTopDownView() {
126+
public synchronized void setTopDownView() {
126127
touchViewHandler.setTopDownView();
128+
mPoseUpdated = true;
127129
}
128130

129-
public void setThirdPersonView() {
131+
public synchronized void setThirdPersonView() {
130132
touchViewHandler.setThirdPersonView();
133+
mPoseUpdated = true;
131134
}
132135
}
29.7 KB
Binary file not shown.
-5 Bytes
Binary file not shown.
-956 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)