Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cleanup] Remove dead code in several React components #745

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

vincentfretin
Copy link
Contributor

Those are props and state that aren't used anywhere.

if (this.props.onChange) {
this.props.onChange(entity);
}
Events.emit('entityselect', entity, true);
Copy link
Contributor Author

@vincentfretin vincentfretin Aug 16, 2024

Choose a reason for hiding this comment

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

This true param here has no meaning, there is no second parameter in any of the entityselect listener in the code base, meaning there is no Events.on('entityselect', (entity, someboolean) => ...

@vincentfretin vincentfretin changed the title [cleanup] Remove dead code in SceneGraph [cleanup] Remove dead code in SceneGraph and Entity Aug 17, 2024
@vincentfretin vincentfretin changed the title [cleanup] Remove dead code in SceneGraph and Entity [cleanup] Remove dead code in several React components Aug 18, 2024
@dmarcos
Copy link
Member

dmarcos commented Aug 19, 2024

Thanks!

@vincentfretin
Copy link
Contributor Author

I rebased to fix the conflict. You can merge.

@vincentfretin
Copy link
Contributor Author

@dmarcos in case you missed my comment.

@dmarcos
Copy link
Member

dmarcos commented Aug 27, 2024

Thanks!

@dmarcos dmarcos merged commit 05d895e into aframevr:master Aug 27, 2024
1 check passed
@vincentfretin vincentfretin deleted the cleanup-scenegraph branch August 27, 2024 07:35
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