提交 486f7b91 编写于 作者: A Alan Millman

Forgot || {}

上级 12e254fd
......@@ -1642,7 +1642,7 @@ THREE.LegacyGLTFLoader = ( function () {
if ( ! material.technique ) break;
var parameters = json.techniques[ material.technique ].parameters;
var parameters = json.techniques[ material.technique ].parameters || {};
for( var attributeName in parameters ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册