Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 11, 2021

Related issue: see #9545 (comment)

Description

Using the same stack approach like with render states.

@mrdoob mrdoob added this to the r126 milestone Feb 11, 2021
@mrdoob mrdoob merged commit 1da7835 into mrdoob:dev Feb 11, 2021
@mrdoob
Copy link
Owner

mrdoob commented Feb 11, 2021

Thanks!

@mrdoob
Copy link
Owner

mrdoob commented Feb 11, 2021

FYI @Oletus

Comment on lines +184 to +185
lists.set( scene, [] );
lists.get( scene ).push( list );
Copy link
Owner

@mrdoob mrdoob Feb 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these two lines can be simplified to this?

lists.set( scene, [ list ] );

Copy link
Owner

@mrdoob mrdoob Feb 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change it on my end.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same change can be applied in WebGLRenderStates, too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, you were faster than my comment 😅 af07e8a

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