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

Editor: Remove unused method moveObject #29078

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

s-rigaud
Copy link
Contributor

@s-rigaud s-rigaud commented Aug 7, 2024

Hello 🙂

I'm currently using the editor as a base source code for a personal project. I just noted that the Editor.moveObject() method is not used.

The logic is already implemented in both UIOutliner and MoveObjectCommand. But I personally find the name moveObject (even for the command name) a bit misleading as I expect the Object3D to physically move in the scene as a first though, maybe renaming the MoveObjectCommand might be a good thing to do if you agree.

@Mugen87 Mugen87 added this to the r168 milestone Aug 7, 2024
@Mugen87 Mugen87 merged commit eac8d93 into mrdoob:dev Aug 8, 2024
11 checks passed
@mrdoob
Copy link
Owner

mrdoob commented Aug 31, 2024

How about ReparentObjectCommand?

@s-rigaud s-rigaud deleted the remove-misleading-function-moveObject branch September 10, 2024 12:32
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.

3 participants