Graphics/Material: Fix Configure resetting textures
This commit is contained in:
parent
9d195c2750
commit
e665ea5373
|
|
@ -179,6 +179,7 @@ Nazara Engine:
|
|||
- Added RigidBody::[Get|Set]PositionOffset allowing set an offset between body logic position and body physics position (center of mass position)
|
||||
- ⚠ Default TextureSampler WrapMode is now Clamp (instead of Repeat)
|
||||
- Fixed StateMachine ignoring transitions made in Enter/Leave events of states
|
||||
- Fixed Material::Configure resetting textures
|
||||
|
||||
Nazara Development Kit:
|
||||
- Added ImageWidget (#139)
|
||||
|
|
|
|||
|
|
@ -119,6 +119,14 @@ namespace Nz
|
|||
{
|
||||
m_pipelineInfo = pipelineInfo;
|
||||
|
||||
// Temp and dirty fix for pipeline overriding has*Map
|
||||
m_pipelineInfo.hasAlphaMap = m_alphaMap.IsValid();
|
||||
m_pipelineInfo.hasDiffuseMap = m_diffuseMap.IsValid();
|
||||
m_pipelineInfo.hasEmissiveMap = m_emissiveMap.IsValid();
|
||||
m_pipelineInfo.hasHeightMap = m_heightMap.IsValid();
|
||||
m_pipelineInfo.hasNormalMap = m_normalMap.IsValid();
|
||||
m_pipelineInfo.hasSpecularMap = m_specularMap.IsValid();
|
||||
|
||||
InvalidatePipeline();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue