File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
mode/libraries/ar/src/processing/ar Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ public class ARTracker {
46
46
private HashMap <String , ARTrackable > trackables = new HashMap <String , ARTrackable >();
47
47
private ArrayList <ARAnchor > toRemove = new ArrayList <ARAnchor >();
48
48
private Method trackableEventMethod ;
49
- private Session session ;
50
49
51
50
public ARTracker (PApplet parent ) {
52
51
this .p = parent ;
@@ -64,9 +63,9 @@ public void addImage(String name, PImage img) {
64
63
db .addImage (name , bitmap );
65
64
66
65
// Reset the session config with the updated image database
67
- Config config = new Config (session );
66
+ Config config = new Config (g . surfar . session );
68
67
config .setAugmentedImageDatabase (db );
69
- session .configure (config );
68
+ g . surfar . session .configure (config );
70
69
}
71
70
72
71
public void start () {
You can’t perform that action at this time.
0 commit comments