From 6f9dc56b7b6daf8af785832824a907bdd2c975ce Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Mon, 11 May 2015 19:16:31 -0400 Subject: [PATCH] BufferAttribute/InterleaveBufferAttribute: Simpler warnings. --- src/core/BufferAttribute.js | 2 +- src/core/InterleavedBufferAttribute.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/BufferAttribute.js b/src/core/BufferAttribute.js index 1810a32b8c..b147492c33 100644 --- a/src/core/BufferAttribute.js +++ b/src/core/BufferAttribute.js @@ -17,7 +17,7 @@ THREE.BufferAttribute.prototype = { get length () { - THREE.warn( 'THREE.BufferAttribute.length has been removed. Use THREE.BufferAttribute.count instead.' ); + console.warn( 'THREE.BufferAttribute: .length has been renamed to .count.' ); return this.count; }, diff --git a/src/core/InterleavedBufferAttribute.js b/src/core/InterleavedBufferAttribute.js index 020c30027c..cefbaf9341 100644 --- a/src/core/InterleavedBufferAttribute.js +++ b/src/core/InterleavedBufferAttribute.js @@ -17,7 +17,7 @@ THREE.InterleavedBufferAttribute.prototype = { get length() { - THREE.warn( 'THREE.InterleavedBufferAttribute.length has been removed. Use THREE.InterleavedBufferAttribute.count instead.' ); + console.warn( 'THREE.InterleavedBufferAttribute: .length has been renamed to .count.' ); return this.count; }, -- GitLab