Graphics/Model: Fix copy constructor

This commit is contained in:
Jérôme Leclercq 2020-11-01 17:40:12 +01:00
parent f52c43df49
commit 8e6b4cc673
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ namespace Nz
* \param model Model to copy
*/
inline Model::Model(const Model& model) :
InstancedRenderable(model)
InstancedRenderable(model),
Resource(model)
{
SetMesh(model.m_mesh);