fix detach
This commit is contained in:
parent
69c6bfdd6e
commit
1433334f15
@ -144,6 +144,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun onClearClick(view: View) {
|
fun onClearClick(view: View) {
|
||||||
|
cloudAnchor?.detach()
|
||||||
cloudAnchor = null
|
cloudAnchor = null
|
||||||
cloudAnchorState = CloudAnchorState.LOCAL
|
cloudAnchorState = CloudAnchorState.LOCAL
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.2.1'
|
classpath 'com.android.tools.build:gradle:3.3.0'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
classpath 'com.google.ar.sceneform:plugin:1.6.0'
|
classpath 'com.google.ar.sceneform:plugin:1.6.0'
|
||||||
classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
|
classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
#Wed Jan 16 21:40:50 CET 2019
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
|
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user