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

Helpers: Simplify copy() and clone(). #19921

Merged
merged 1 commit into from
Jul 24, 2020
Merged

Helpers: Simplify copy() and clone(). #19921

merged 1 commit into from
Jul 24, 2020

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jul 24, 2020

Some helpers support copy and clone operations.

The current implementation is based on assumptions before #19471 was merged. Since classes like Line or Mesh can use the clone() implementation from Object3D now, it's not necessary to overwrite the method in helpers.

Besides, GridHelper.copy() can now use the implementation of LineSegments.

@mrdoob mrdoob added this to the r119 milestone Jul 24, 2020
@mrdoob mrdoob merged commit 9c1cbd8 into mrdoob:dev Jul 24, 2020
@mrdoob
Copy link
Owner

mrdoob commented Jul 24, 2020

Thanks!

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