|
@@ -3050,7 +3050,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
if ( attributes.color >= 0 ) {
|
|
|
|
|
|
- if ( object.geometry !== undefined && object.geometry.colors.length > 0 || object.geometry.faces.length > 0 ) {
|
|
|
+ if ( object.geometry.colors.length > 0 || object.geometry.faces.length > 0 ) {
|
|
|
|
|
|
_gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglColorBuffer );
|
|
|
enableAttribute( attributes.color );
|