提交 346bac61 编写于 作者: M Mr.doob

ImageUtils: Passing texture in the loadTexture onLoad callback. Fixes #2032.

上级 6a35932a
......@@ -18,7 +18,7 @@ THREE.ImageUtils = {
texture.image = event.content;
texture.needsUpdate = true;
if ( onLoad ) onLoad();
if ( onLoad ) onLoad( texture );
} );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册