From bd9067ee7ce642cd0213ed68268316aad7e5f672 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Wed, 21 Aug 2013 14:09:55 -0700 Subject: [PATCH] Added warning message in Face4 as suggested by @icannotfly in #3663. --- src/core/Face4.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/Face4.js b/src/core/Face4.js index 8f040aa5b2..6157a6df20 100644 --- a/src/core/Face4.js +++ b/src/core/Face4.js @@ -4,6 +4,8 @@ THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) { + console.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.') + return new THREE.Face3( a, b, c, normal, color, materialIndex ); }; -- GitLab