Update sub-viewport canvas items to ensure oversampling is applied correctly.
This commit is contained in:
parent
c5efda5f4e
commit
76174cb05a
1 changed files with 2 additions and 2 deletions
|
|
@ -1038,8 +1038,8 @@ Transform2D Viewport::get_final_transform() const {
|
|||
|
||||
void Viewport::_update_canvas_items(Node *p_node) {
|
||||
if (p_node != this) {
|
||||
Viewport *vp = Object::cast_to<Viewport>(p_node);
|
||||
if (vp) {
|
||||
Window *w = Object::cast_to<Window>(p_node);
|
||||
if (w && (!w->is_inside_tree() || !w->is_embedded())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue