Use mesh context for disabled translucency
This commit is contained in:
parent
68754ad79c
commit
e8a4e021b0
|
@ -30,7 +30,7 @@ def get_rpasses(material):
|
|||
ar.append('decal')
|
||||
elif material.arm_overlay:
|
||||
ar.append('overlay')
|
||||
elif is_transluc(material) and not material.arm_discard and not vgirefract:
|
||||
elif is_transluc(material) and not material.arm_discard and not vgirefract and rpdat.rp_translucency_state != 'Off':
|
||||
ar.append('translucent')
|
||||
else:
|
||||
ar.append('mesh')
|
||||
|
|
Loading…
Reference in a new issue