Skip to content
Snippets Groups Projects
Commit 9c1b45b1 authored by Graham Linden's avatar Graham Linden
Browse files

NORSPEC-343 fix oversight and actually apply override to new material when no alpha is present

parent e156e3ff
No related branches found
No related tags found
No related merge requests found
...@@ -282,6 +282,7 @@ class LLPanelFace : public LLPanel ...@@ -282,6 +282,7 @@ class LLPanelFace : public LLPanel
if ((new_alpha_mode == LLMaterial::DIFFUSE_ALPHA_MODE_BLEND) && !is_alpha_face) if ((new_alpha_mode == LLMaterial::DIFFUSE_ALPHA_MODE_BLEND) && !is_alpha_face)
{ {
new_alpha_mode = LLMaterial::DIFFUSE_ALPHA_MODE_NONE; new_alpha_mode = LLMaterial::DIFFUSE_ALPHA_MODE_NONE;
new_material->setDiffuseAlphaMode(LLMaterial::DIFFUSE_ALPHA_MODE_NONE);
} }
bool is_default_blend_mode = (new_alpha_mode == default_alpha_mode); bool is_default_blend_mode = (new_alpha_mode == default_alpha_mode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment