-
-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Improve the UX of ViewportTexture in the editor #64388
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
Conversation
2136bfb to
ad97624
Compare
c47bdb5 to
c7a4a5f
Compare
c7a4a5f to
35dd671
Compare
clayjohn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me, but really needs a review from @reduz
35dd671 to
9f1afed
Compare
9f1afed to
dd65b8f
Compare
dd65b8f to
1b0bf21
Compare
1b0bf21 to
5ff3ddf
Compare
Chaosus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine for me too (fixes the errors with sub-viewports in my project, eliminating the need of setting the texture in the code manually to prevent this).
|
I recently opened a very similar PR #75751 🤔 |
|
5ff3ddf to
0073445
Compare
|
Sounds like we could merge #75751 first and then you can rebase to add your changes. |
0073445 to
148398a
Compare
|
OK, now it rebases on #75751. |
|
#75751 was merged, so this can be rebased. |
148398a to
be00ae9
Compare
|
OK, rebase has been done. |
be00ae9 to
698aa75
Compare
cae7c3d to
22f2289
Compare
The associated `ViewportTexture`s will update the `viewport_path` in time when the `Viewport`'s nodepath is changed (caused by renaming the node names or moving in the SceneTree dock). If the target `Viewport` is changed by resetting the `viewport_path`, the `ViewportTexture`s will be re-setup and emit `changed` signal in time.
22f2289 to
af58f1e
Compare
|
Thanks! |
|
Cherry-picked for 4.0.3. |
|
We can consider this for 4.0.x again after the 4.1 release, as that would serve as additional testing for this and #77209. At that point I would ask to create a dedicated 4.0 PR based on the master version of the fixes to avoid cherry-picking conflicts. So for that reason I'm removing the cherry-pick label. |



The associated
ViewportTextures will update theviewport_pathin time when theViewport's nodepath is changed (caused by renaming the nodes or moving in the SceneTree dock).If the target
Viewportis changed by resetting theviewport_path, theViewportTextures will be re-setup and emitchangedsignal in time.