Skip to content

BackgroundBlurEffect: Dont update actor size in construct - #2900

Merged
lenemter merged 1 commit into
mainfrom
leolost/dont-update-actor-size-with-null-actor
Aug 13, 2026
Merged

BackgroundBlurEffect: Dont update actor size in construct#2900
lenemter merged 1 commit into
mainfrom
leolost/dont-update-actor-size-with-null-actor

Conversation

@leolost2605

@leolost2605 leolost2605 commented Aug 13, 2026

Copy link
Copy Markdown
Member

When we construct a background blur effect we don't have an actor yet, we only get it once we are attached to an actor in the set_actor virtual method. This means we try to access the width/height of a null actor leading to two warnings every time a background blur effect is constructed.

Since update_actor_size () is called in set_actor anyways I think we can just remove it.

@leolost2605
leolost2605 requested a review from lenemter August 13, 2026 13:55

@lenemter lenemter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@lenemter
lenemter merged commit d01f045 into main Aug 13, 2026
7 checks passed
@lenemter
lenemter deleted the leolost/dont-update-actor-size-with-null-actor branch August 13, 2026 14:05
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