summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-05-15 15:05:00 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-05-15 15:05:00 -0700
commit5dea7c6b8f6bc0d7306c52b8c9d642f2a7f5dfc5 (patch)
tree6b5ab629c02f6830d3bed0b3845e86c5ebc2571c
parentf58b17cb29ec85ef15465e3ede27cae9ae3b203f (diff)
parent83608fedb76a346f0f69e1c73769723c4069d9fd (diff)
Merge
-rwxr-xr-xdoc/contributions.txt1
-rwxr-xr-xindra/newview/llvovolume.cpp6
-rw-r--r--indra/newview/skins/default/xui/en/panel_tools_texture.xml8
3 files changed, 8 insertions, 7 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt
index 26fbfe2bb0..5c445e9ed0 100755
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -1023,6 +1023,7 @@ Ryozu Kojima
VWR-287
Sachi Vixen
Sahkolihaa Contepomi
+ MATBUG-102
Saii Hallard
SaintLEOlions Zimer
Salahzar Stenvaag
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 1021615255..52d05c8030 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -4183,13 +4183,13 @@ void LLVolumeGeometryManager::registerFace(LLSpatialGroup* group, LLFace* facep,
draw_info->mSpecColor = specColor;
draw_info->mEnvIntensity = spec;
draw_info->mSpecularMap = NULL;
+ draw_info->mMaterial = mat;
+ draw_info->mShaderMask = shader_mask;
if (mat)
{
// We have a material. Update our draw info accordingly.
- draw_info->mMaterial = mat;
- draw_info->mShaderMask = shader_mask;
-
+
if (!mat->getSpecularID().isNull())
{
LLVector4 specColor;
diff --git a/indra/newview/skins/default/xui/en/panel_tools_texture.xml b/indra/newview/skins/default/xui/en/panel_tools_texture.xml
index 5be3ca9d9f..626115bd5d 100644
--- a/indra/newview/skins/default/xui/en/panel_tools_texture.xml
+++ b/indra/newview/skins/default/xui/en/panel_tools_texture.xml
@@ -644,8 +644,8 @@
layout="topleft"
label_width="205"
left="10"
- max_val="180"
- min_val="-180"
+ max_val="9999"
+ min_val="-9999"
name="bumpyRot"
width="265" />
@@ -707,8 +707,8 @@
layout="topleft"
label_width="205"
left="10"
- max_val="180"
- min_val="-180"
+ max_val="9999"
+ min_val="-9999"
name="shinyRot"
width="265" />