From 6c4b978e97661a77747f1d9991cd758ca773facb Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Tue, 15 Oct 2024 02:10:19 -0500 Subject: [PATCH] Fix deprecation version --- src/renderers/WebGLRenderer.js | 4 ++-- src/renderers/webgl-fallback/WebGLBackend.js | 4 ++-- src/renderers/webgpu/WebGPUBackend.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/renderers/WebGLRenderer.js b/src/renderers/WebGLRenderer.js index 8bb5b6aa248833..45e191248c4d40 100644 --- a/src/renderers/WebGLRenderer.js +++ b/src/renderers/WebGLRenderer.js @@ -860,9 +860,9 @@ class WebGLRenderer { if ( object.isBatchedMesh ) { - if ( object._multiDrawInstances !== null ) { // @deprecated, r173 + if ( object._multiDrawInstances !== null ) { // @deprecated, r170 - warnOnce( 'THREE.WebGLRenderer: renderMultiDrawInstances has been deprecated and will be removed in r183. Append to renderMultiDraw arguments and use indirection.' ); + warnOnce( 'THREE.WebGLRenderer: renderMultiDrawInstances has been deprecated and will be removed in r180. Append to renderMultiDraw arguments and use indirection.' ); renderer.renderMultiDrawInstances( object._multiDrawStarts, object._multiDrawCounts, object._multiDrawCount, object._multiDrawInstances ); diff --git a/src/renderers/webgl-fallback/WebGLBackend.js b/src/renderers/webgl-fallback/WebGLBackend.js index 38c3f1b3344abd..c39766db59c38f 100644 --- a/src/renderers/webgl-fallback/WebGLBackend.js +++ b/src/renderers/webgl-fallback/WebGLBackend.js @@ -741,9 +741,9 @@ class WebGLBackend extends Backend { if ( object.isBatchedMesh ) { - if ( object._multiDrawInstances !== null ) { // @deprecated, r173 + if ( object._multiDrawInstances !== null ) { // @deprecated, r170 - warnOnce( 'THREE.WebGLBackend: renderMultiDrawInstances has been deprecated and will be removed in r183. Append to renderMultiDraw arguments and use indirection.' ); + warnOnce( 'THREE.WebGLBackend: renderMultiDrawInstances has been deprecated and will be removed in r180. Append to renderMultiDraw arguments and use indirection.' ); renderer.renderMultiDrawInstances( object._multiDrawStarts, object._multiDrawCounts, object._multiDrawCount, object._multiDrawInstances ); diff --git a/src/renderers/webgpu/WebGPUBackend.js b/src/renderers/webgpu/WebGPUBackend.js index c29de6d9f63e11..1aad29e40a2170 100644 --- a/src/renderers/webgpu/WebGPUBackend.js +++ b/src/renderers/webgpu/WebGPUBackend.js @@ -957,9 +957,9 @@ class WebGPUBackend extends Backend { const drawCount = object._multiDrawCount; const drawInstances = object._multiDrawInstances; - if ( object._multiDrawInstances !== null ) { // @deprecated, r173 + if ( object._multiDrawInstances !== null ) { // @deprecated, r170 - warnOnce( 'THREE.WebGPUBackend: renderMultiDrawInstances has been deprecated and will be removed in r183. Append to renderMultiDraw arguments and use indirection.' ); + warnOnce( 'THREE.WebGPUBackend: renderMultiDrawInstances has been deprecated and will be removed in r180. Append to renderMultiDraw arguments and use indirection.' ); }