mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 21:45:04 +02:00
Preload sitting animation
This commit is contained in:
parent
893a5b1b18
commit
eab2c314d8
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,9 @@
|
||||||
this.lastTimeNoDriveKeys = null;
|
this.lastTimeNoDriveKeys = null;
|
||||||
this.sittingDown = false;
|
this.sittingDown = false;
|
||||||
|
|
||||||
|
// Preload the animation file
|
||||||
|
this.animation = AnimationCache.prefetch(ANIMATION_URL);
|
||||||
|
|
||||||
this.preload = function(entityID) {
|
this.preload = function(entityID) {
|
||||||
this.entityID = entityID;
|
this.entityID = entityID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue