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

THREE JS Editor: Added Context Menu to Objects #15750

Closed
wants to merge 13 commits into from

Conversation

Temdog007
Copy link
Contributor

  1. Added context menu to objects.
  • Copy: Clones the currently selected object and stores it
  • Cut: Stores the currently selected object and removes it from the scene
  • Paste: Adds the stored object to the current selected object
  • Clone: Clones the currently selected object and adds it to the scene
  • Delete: Removes the currently selected object

contextmenudarkcontextmenulight

  1. Changed Outliner to be resizable.
    outlinerresize

@looeee
Copy link
Collaborator

looeee commented Mar 18, 2019

Nice!

You'll need to add the context menu to Scene as well though. If you cut an object you need to be able to paste it into the scene, at the moment you can only paste it as a child of other objects. The scene context menu only needs the "paste" option for now, an this can be done in a separate PR if you want.

It would be nice if you could open the same context menu from objects in the viewport as well, but that can be saved for another PR too.

@Temdog007
Copy link
Contributor Author

Closing for now. Will be re-implemented in a simpler manner at a later time.

@Temdog007 Temdog007 closed this Jun 29, 2019
@Temdog007 Temdog007 deleted the feature/ContextMenu branch June 29, 2019 02:46
@Temdog007 Temdog007 restored the feature/ContextMenu branch June 29, 2019 03:02
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