From babd741fa45594c15109251fcc9a68c0e8a89bb6 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 27 Feb 2018 21:25:32 +0100 Subject: [PATCH] source/Graphics/Transformable.cpp: scale() should invalidate the transform. --- source/Graphics/Transformable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Graphics/Transformable.cpp b/source/Graphics/Transformable.cpp index 5890f17..eb35bbd 100644 --- a/source/Graphics/Transformable.cpp +++ b/source/Graphics/Transformable.cpp @@ -71,6 +71,7 @@ void Transformable::setScale(float scale) void Transformable::scale(const Vector2f& offset) { m_scale += offset; + m_transformNeedsUpdate = true; } void Transformable::scale(float offset)