Sdk/GraphicsComponent: Fix copy constructor

Former-commit-id: 8007e8c374d2c9442bc45b6c911666ba5f3a39b1
This commit is contained in:
Lynix 2015-11-30 18:19:38 +01:00
parent 6fcf7dcf23
commit 26681b48b7
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace Ndk
{
m_renderables.reserve(graphicsComponent.m_renderables.size());
for (const Renderable& r : graphicsComponent.m_renderables)
Attach(r.renderable);
Attach(r.renderable, r.data.renderOrder);
}
inline void GraphicsComponent::AddToRenderQueue(Nz::AbstractRenderQueue* renderQueue) const