|
@@ -742,6 +742,14 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
var index = geometry.index;
|
|
|
var position = geometry.attributes.position;
|
|
|
+
|
|
|
+ //
|
|
|
+
|
|
|
+ if ( index !== null && index.count === 0 ) return;
|
|
|
+ if ( position === undefined || position.count === 0 ) return;
|
|
|
+
|
|
|
+ //
|
|
|
+
|
|
|
var rangeFactor = 1;
|
|
|
|
|
|
if ( material.wireframe === true ) {
|