提交 e83d43a0 编写于 作者: 0 06wj

Fix TextBufferGeometry check font bug

上级 8f1a4323
......@@ -49,7 +49,7 @@ function TextBufferGeometry( text, parameters ) {
var font = parameters.font;
if ( ( font && font.isFont ) === false ) {
if ( ! ( font && font.isFont ) ) {
console.error( 'THREE.TextGeometry: font parameter is not an instance of THREE.Font.' );
return new Geometry();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册