Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
fix: model motion (.mtn) cache
Browse files Browse the repository at this point in the history
close #4
  • Loading branch information
EYHN committed Mar 31, 2019
1 parent c2de585 commit a337ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cModel.js
Expand Up @@ -368,12 +368,12 @@ cModel.prototype.startMotion = function(name, no, priority)

if (this.motions[name] == null)
{
this.loadMotion(null, this.modelHomeDir + motionName, function(mtn) {
this.loadMotion(name, this.modelHomeDir + motionName, function(mtn) {
motion = mtn;


thisRef.setFadeInFadeOut(name, no, priority, motion);

});
}
else
Expand Down

0 comments on commit a337ff7

Please sign in to comment.