Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Adding the WebWorker feature to WebARStudio #1

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft
Prev Previous commit
Next Next commit
trackableId issue
  • Loading branch information
kalwalt committed May 16, 2020
commit 34c4770e66e9e84564be2a032b2a4fa8dc20c585
5 changes: 3 additions & 2 deletions editor/js/components/arcontroller.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ ArControllerComponent.prototype.startAR = function() {
const markerIndex = ev.detail.data.index;
const markerType = ev.detail.data.type;
const marker = ev.detail.data.marker;
trackableId = ev.detail.data.marker.id;

if (ev.detail.data.type === 2) {
/*if (ev.detail.data.type === 2) {
trackableId = ev.detail.data.marker.id;
}
}*/
if (trackableId !== -1) {
console.log("saw a trackable with id", trackableId);

Expand Down