(Material) Fixed depth sorting not being copied

Former-commit-id: ecd4e3c8e44c6027c0e662f7d9d235a69ca9dc3d
This commit is contained in:
Lynix 2015-01-19 11:56:26 +01:00
parent 75ffa09792
commit 5d16d7ab7e
1 changed files with 16 additions and 15 deletions

View File

@ -631,6 +631,7 @@ void NzMaterial::Copy(const NzMaterial& material)
m_alphaTestEnabled = material.m_alphaTestEnabled;
m_alphaThreshold = material.m_alphaThreshold;
m_ambientColor = material.m_ambientColor;
m_depthSortingEnabled = material.m_depthSortingEnabled;
m_diffuseColor = material.m_diffuseColor;
m_diffuseSampler = material.m_diffuseSampler;
m_lightingEnabled = material.m_lightingEnabled;