Explorar o código

Ignore case on name match

Pontus Leitzler %!s(int64=9) %!d(string=hai) anos
pai
achega
8d0d3cfc4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/extras/objects/MorphBlendMesh.js

+ 1 - 1
src/extras/objects/MorphBlendMesh.js

@@ -62,7 +62,7 @@ THREE.MorphBlendMesh.prototype.createAnimation = function ( name, start, end, fp
 
 THREE.MorphBlendMesh.prototype.autoCreateAnimations = function ( fps ) {
 
-	var pattern = /([a-z]+)_?(\d+)/;
+	var pattern = /([a-z]+)_?(\d+)/i;
 
 	var firstAnimation, frameRanges = {};