提交 737530a5 编写于 作者: S SUNAG

MultiMaterial cleanup

上级 d7dfac69
......@@ -727,3 +727,7 @@ THREE.TextGeometry = function () {
console.error( 'THREE.FontUtils has been moved to /examples/js/utils/FontUtils.js' );
};
//
THREE.MeshFaceMaterial = THREE.MultiMaterial;
......@@ -65,7 +65,3 @@ THREE.MultiMaterial.prototype = {
}
};
// backwards compatibility
THREE.MeshFaceMaterial = THREE.MultiMaterial;
......@@ -1307,7 +1307,7 @@ THREE.WebGLRenderer = function ( parameters ) {
var geometry = objects.update( object );
if ( material instanceof THREE.MeshFaceMaterial ) {
if ( material instanceof THREE.MultiMaterial ) {
var groups = geometry.groups;
var materials = material.materials;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册