Commit 1e45e062 authored by Ken Martin's avatar Ken Martin Committed by Sean McBride

add missing modifieds when changing shader replacements

Modifieds were missing causing shaders to not be rebuilt
when they should have been

(cherry picked from commit d592cb2a)
parent 4f6d231b
......@@ -238,6 +238,7 @@ void vtkOpenGLPolyDataMapper::AddShaderReplacement(
values.ReplaceAll = replaceAll;
this->UserShaderReplacements[spec] = values;
this->Modified();
}
void vtkOpenGLPolyDataMapper::ClearShaderReplacement(
......@@ -256,6 +257,7 @@ void vtkOpenGLPolyDataMapper::ClearShaderReplacement(
if (found == this->UserShaderReplacements.end())
{
this->UserShaderReplacements.erase(found);
this->Modified();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment