Ndk/GraphicsComponent: Fix data depending on transform matrix not updating

Former-commit-id: 993d1d31eca9a296fce09bb21e07a684f9e24220
This commit is contained in:
Lynix 2015-06-12 14:24:46 +02:00
parent 096b420d2c
commit 4f04795ef6
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ namespace Ndk
inline void GraphicsComponent::InvalidateTransformMatrix()
{
for (Renderable& r : m_renderables)
r.dataUpdated = false;
m_transformMatrixUpdated = false;
}
}