Ndk/GraphicsComponent: Fix data depending on transform matrix not updating
Former-commit-id: 993d1d31eca9a296fce09bb21e07a684f9e24220
This commit is contained in:
parent
096b420d2c
commit
4f04795ef6
|
|
@ -48,6 +48,9 @@ namespace Ndk
|
||||||
|
|
||||||
inline void GraphicsComponent::InvalidateTransformMatrix()
|
inline void GraphicsComponent::InvalidateTransformMatrix()
|
||||||
{
|
{
|
||||||
|
for (Renderable& r : m_renderables)
|
||||||
|
r.dataUpdated = false;
|
||||||
|
|
||||||
m_transformMatrixUpdated = false;
|
m_transformMatrixUpdated = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue