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

Children of viewport nodes cannot be dragged. #45389

Closed
ghost opened this issue Jan 23, 2021 · 3 comments
Closed

Children of viewport nodes cannot be dragged. #45389

ghost opened this issue Jan 23, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2021

Godot version:

3.2.4

OS/device including version:

Win 10

Issue description:

Children of Viewport nodes from as far as I can tell can't be repositioned with dragging in the editor. The transform properties have to be manually updated in the inspector panel.

ezgif com-gif-maker

Steps to reproduce:

  1. Setup a 2D viewport.
  2. Create sprites as children.
  3. Try to drag and move them.

Minimal reproduction project:

Viewport Children Undraggable.zip

@YuriSizov
Copy link
Contributor

Duplicate of #20619.

Note that the root of the issue is that to the editor this is just a rendered texture, same as in the actual running project. You can work around this limitation by putting the contents of your Viewport into a separate scene.

@ghost
Copy link
Author

ghost commented Jan 23, 2021

Wouldn't then also editor viewport and the root scene viewport prevent usage of controls the same?

@elvisish
Copy link

Duplicate of #20619.

Note that the root of the issue is that to the editor this is just a rendered texture, same as in the actual running project. You can work around this limitation by putting the contents of your Viewport into a separate scene.

My issue is that not only are Layout controls broken for sub-Viewport controls, I can't even see anything in the 2D editor without putting the contents into a separate scene. Thanks for mentioning this as it seems to be the only solution for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants