|
@@ -629,7 +629,7 @@ THREE.CanvasRenderer = function ( parameters ) {
|
|
|
|
|
|
drawTriangle( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y );
|
|
|
|
|
|
- if ( ( material instanceof THREE.MeshLambertMaterial || material instanceof THREE.MeshPhongMaterial ) && material.map === null && material.map === null ) {
|
|
|
+ if ( ( material instanceof THREE.MeshLambertMaterial || material instanceof THREE.MeshPhongMaterial ) && material.map === null ) {
|
|
|
|
|
|
_diffuseColor.copy( material.color );
|
|
|
_emissiveColor.copy( material.emissive );
|