summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llvovolume.cpp4
-rwxr-xr-xindra/newview/skins/default/xui/en/menu_viewer.xml3
2 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 24275c57e0..91a5a082c1 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -5003,6 +5003,10 @@ struct CompareBatchBreakerModified
{
return lte->getMaterialParams() < rte->getMaterialParams();
}
+ else if (LLPipeline::sRenderDeferred && (lte->getMaterialParams() == rte->getMaterialParams()) && (lte->getShiny() != rte->getShiny()))
+ {
+ return lte->getShiny() < rte->getShiny();
+ }
else
{
return lhs->getTexture() < rhs->getTexture();
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 500c11da74..b01c3067ff 100755
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -2666,7 +2666,8 @@
</menu_item_call>
<menu_item_call
label="Selected Material Info"
- name="Selected Material Info">
+ name="Selected Material Info"
+ shortcut="control|alt|shift|M">
<menu_item_call.on_click
function="Advanced.SelectedMaterialInfo" />
</menu_item_call>