diff --git a/indra/edit-me-to-trigger-new-build.txt b/indra/edit-me-to-trigger-new-build.txt
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0519ecba6ea913e21689ec692e81e9e4973fbf73 100644
--- a/indra/edit-me-to-trigger-new-build.txt
+++ b/indra/edit-me-to-trigger-new-build.txt
@@ -0,0 +1 @@
+ 
\ No newline at end of file
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp
index 04878cabe2ea900e5f7f2f8a0eda38ac46926404..39e81c4bfc2084aa60d37a61cc5ba794e2292f33 100644
--- a/indra/llrender/llglslshader.cpp
+++ b/indra/llrender/llglslshader.cpp
@@ -379,6 +379,11 @@ void LLGLSLShader::addPermutation(std::string name, std::string value)
 	mDefines[name] = value;
 }
 
+void LLGLSLShader::removePermutation(std::string name)
+{
+	mDefines[name].erase();
+}
+
 GLint LLGLSLShader::mapUniformTextureChannel(GLint location, GLenum type)
 {
 	if (type >= GL_SAMPLER_1D_ARB && type <= GL_SAMPLER_2D_RECT_SHADOW_ARB ||
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h
index 185e6e7aeb82a35666cbc5972b0afc6e4ca07259..f511c39484c03f651dea10bff8346df8e14a5569 100644
--- a/indra/llrender/llglslshader.h
+++ b/indra/llrender/llglslshader.h
@@ -124,6 +124,7 @@ class LLGLSLShader
 	GLint mapUniformTextureChannel(GLint location, GLenum type);
 	
 	void addPermutation(std::string name, std::string value);
+	void removePermutation(std::string name);
 	
 	//enable/disable texture channel for specified uniform
 	//if given texture uniform is active in the shader,