|
@@ -979,6 +979,12 @@ class WebGLRenderer {
|
|
|
|
|
|
|
|
scene.traverse( function ( object ) {
|
|
scene.traverse( function ( object ) {
|
|
|
|
|
|
|
|
|
|
+ if ( ! ( object.isMesh || object.isPoints || object.isLine || object.isSprite ) ) {
|
|
|
|
|
+
|
|
|
|
|
+ return;
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
const material = object.material;
|
|
const material = object.material;
|
|
|
|
|
|
|
|
if ( material ) {
|
|
if ( material ) {
|