Skip to content

Commit 3af2bd5

Browse files
committed
Merge branch 'patch-1' of https://github.com/tormozok/three.js into dev
2 parents 7083661 + 0ffea7b commit 3af2bd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extras/objects/MorphBlendMesh.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ THREE.MorphBlendMesh.prototype.createAnimation = function ( name, start, end, fp
3333

3434
var animation = {
3535

36-
startFrame: start,
37-
endFrame: end,
36+
start: start,
37+
end: end,
3838

3939
length: end - start + 1,
4040

@@ -280,7 +280,7 @@ THREE.MorphBlendMesh.prototype.update = function ( delta ) {
280280

281281
}
282282

283-
var keyframe = animation.startFrame + THREE.Math.clamp( Math.floor( animation.time / frameTime ), 0, animation.length - 1 );
283+
var keyframe = animation.start + THREE.Math.clamp( Math.floor( animation.time / frameTime ), 0, animation.length - 1 );
284284
var weight = animation.weight;
285285

286286
if ( keyframe !== animation.currentFrame ) {

0 commit comments

Comments
 (0)