Skip to content

Commit

Permalink
Merge pull request #22 from staticdreams/master
Browse files Browse the repository at this point in the history
Xcode 9 Beta 5 adjustments
  • Loading branch information
Andrew Hart committed Aug 9, 2017
2 parents e4550c4 + 57d1dfb commit a92a9e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ARKit+CoreLocation/Source/SceneLocationView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class SceneLocationView: ARSCNView, ARSCNViewDelegate {

public func run() {
// Create a session configuration
let configuration = ARWorldTrackingSessionConfiguration()
let configuration = ARWorldTrackingConfiguration()
configuration.planeDetection = .horizontal

if orientToTrueNorth {
Expand Down Expand Up @@ -474,8 +474,6 @@ public class SceneLocationView: ARSCNView, ARSCNViewDelegate {
print("camera did change tracking state: limited, insufficient features")
case .limited(.excessiveMotion):
print("camera did change tracking state: limited, excessive motion")
case .limited(.none):
print("camera did change tracking state: limited, no reason")
case .limited(.initializing):
print("camera did change tracking state: limited, initializing")
case .normal:
Expand Down

0 comments on commit a92a9e4

Please sign in to comment.