Ndk/GraphicsComponent: Fix data depending on transform matrix not updating
Former-commit-id: 993d1d31eca9a296fce09bb21e07a684f9e24220
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user