Skip to content

fix: 2nd parameter on WebGLRenderLists.get should be a number#126

Merged
joshuaellis merged 1 commit intothree-types:masterfrom
schwyzl:schwyzl-patch-1
Sep 18, 2021
Merged

fix: 2nd parameter on WebGLRenderLists.get should be a number#126
joshuaellis merged 1 commit intothree-types:masterfrom
schwyzl:schwyzl-patch-1

Conversation

@schwyzl
Copy link
Contributor

@schwyzl schwyzl commented Sep 16, 2021

The second parameter of WebGLRenderLists.get() should be a number indicating the render call depth.

Three.js source line here:
https://github.com/mrdoob/three.js/blob/68b5f4f0cc279b6b7c61205aeda72b995a3642f5/src/renderers/webgl/WebGLRenderLists.js#L205

Why

Fixing a blocking bug relating to WebGLRenderLists. The param was updated in three here: mrdoob/three.js#21254

What

Modified a parameter name and type con the WebGLRenderLists.get() function. It was set as a Camera but it needs to be a number for the current version of three.

Checklist

  • Added myself to contributors table
  • Ready to be merged

The second parameter of WebGLRenderLists.get() should be a number indicating the render call depth.

Three.js source line here:
https://github.com/mrdoob/three.js/blob/68b5f4f0cc279b6b7c61205aeda72b995a3642f5/src/renderers/webgl/WebGLRenderLists.js#L205
@joshuaellis joshuaellis merged commit cbdf1e5 into three-types:master Sep 18, 2021
MykhailoStrelnykov pushed a commit to Chronos-Samples/three-ts-types that referenced this pull request Dec 22, 2025
…types#126)

The second parameter of WebGLRenderLists.get() should be a number indicating the render call depth.

Three.js source line here:
https://github.com/mrdoob/three.js/blob/68b5f4f0cc279b6b7c61205aeda72b995a3642f5/src/renderers/webgl/WebGLRenderLists.js#L205

Co-authored-by: Tom <t.schwarz@axial3d.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants