Index: src/effects/SkPerlinNoiseShader.cpp |
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp |
index 48a25f9a5b921c59259b9356358464a01e03d98f..47de924b997e41b34bf902ee1174f7313e514cfe 100644 |
--- a/src/effects/SkPerlinNoiseShader.cpp |
+++ b/src/effects/SkPerlinNoiseShader.cpp |
@@ -450,6 +450,7 @@ SkScalar SkPerlinNoiseShader::calculateTurbulenceValueForPoint( |
SkPMColor SkPerlinNoiseShader::shade(const SkPoint& point, StitchData& stitchData) { |
SkMatrix matrix = fMatrix; |
+ matrix.postConcat(getLocalMatrix()); |
SkMatrix invMatrix; |
if (!matrix.invert(&invMatrix)) { |
invMatrix.reset(); |