Compare commits

..

1 Commits

Author SHA1 Message Date
Benjamin Doherty
f172cac8f2 Fix web morphing sample 2023-03-15 13:02:50 -07:00
2 changed files with 1 additions and 4 deletions

View File

@@ -34,9 +34,6 @@
// - Build and upload artifacts with ./gradlew publish
// - Close and release staging repo on Nexus with ./gradlew closeAndReleaseStagingRepository
//
// These commands must both be run in the same Gradle invocation:
// ./gradlew publish closeAndReleaseStagingRepository
//
// The following is needed in ~/gradle/gradle.properties:
//
// sonatypeUsername=nexus_user

View File

@@ -38,7 +38,7 @@ class App {
const onDone = () => {
loader.delete();
scene.addEntities(asset.getEntities());
this.animator = asset.getAnimator();
this.animator = asset.getInstance().getAnimator();
this.animationStartTime = Date.now();
};
asset.loadResources(onDone);