source/Graphics/Transformable.cpp: scale() should invalidate the transform.
This commit is contained in:
parent
e57f099a3c
commit
babd741fa4
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ void Transformable::setScale(float scale)
|
||||||
void Transformable::scale(const Vector2f& offset)
|
void Transformable::scale(const Vector2f& offset)
|
||||||
{
|
{
|
||||||
m_scale += offset;
|
m_scale += offset;
|
||||||
|
m_transformNeedsUpdate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Transformable::scale(float offset)
|
void Transformable::scale(float offset)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue