1
0
Fork 0

source/Graphics/Transformable.cpp: scale() should invalidate the transform.

This commit is contained in:
Henrik Hautakoski 2018-02-27 21:25:32 +01:00
parent e57f099a3c
commit babd741fa4

View file

@ -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)