Explorar o código

Merge branch 'dev' of https://github.com/mrdoob/three.js into dev

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
42410e6fa7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/extras/FontUtils.js

+ 1 - 1
src/extras/FontUtils.js

@@ -31,7 +31,7 @@ THREE.FontUtils = {
 
 		try {
 
-			return this.faces[ this.face ][ this.weight ][ this.style ];
+			return this.faces[ this.face.toLowerCase() ][ this.weight ][ this.style ];
 
 		} catch (e) {