Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 82a120b

Browse files
committed
brought back the effect transform
1 parent cb9b314 commit 82a120b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

impeller/entity/contents/filters/gaussian_blur_filter_contents.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ std::optional<Entity> GaussianBlurFilterContents::RenderFilter(
392392

393393
Vector2 entity_scale_x = entity.GetTransform().Basis() * Vector2(1.0, 0.0);
394394
Vector2 entity_scale_y = entity.GetTransform().Basis() * Vector2(0.0, 1.0);
395-
Vector2 scaled_sigma = (Matrix::MakeScale({entity_scale_x.GetLength(),
395+
Vector2 scaled_sigma = (effect_transform.Basis() *
396+
Matrix::MakeScale({entity_scale_x.GetLength(),
396397
entity_scale_y.GetLength(), 1.0}) *
397398
Vector2(ScaleSigma(sigma_x_), ScaleSigma(sigma_y_)))
398399
.Abs();

0 commit comments

Comments
 (0)