From 3c2c5eeba67d5f23b1409e3dab7d0d91283dbd72 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Tue, 10 Sep 2019 12:43:26 +0200 Subject: [PATCH] WebGLGeometries: Announce stop of THREE.Geometry support --- src/renderers/webgl/WebGLGeometries.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderers/webgl/WebGLGeometries.js b/src/renderers/webgl/WebGLGeometries.js index 281a075b7b94b3..93223a2e64556d 100644 --- a/src/renderers/webgl/WebGLGeometries.js +++ b/src/renderers/webgl/WebGLGeometries.js @@ -63,6 +63,8 @@ function WebGLGeometries( gl, attributes, info ) { if ( geometry._bufferGeometry === undefined ) { + console.warn( 'THREE.WebGLGeometries: three.js will stop rendering geometries of type "THREE.Geometry" in R111. Please use "THREE.BufferGeometry" instead.' ); + geometry._bufferGeometry = new BufferGeometry().setFromObject( object ); }