diff options
author | David Walter Seikel | 2011-12-03 18:50:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2011-12-03 18:50:34 +1000 |
commit | d3b9f715f0ad9516fa350a5c0b83330b733ee0f9 (patch) | |
tree | e1481a7b83ae6f4fa0a88c4eebb6dbecd83e86fd /linden/indra/newview/llfloatersnapshot.cpp | |
parent | Another possible fix for misplaced HUDs? (diff) | |
parent | Made the voice license window resizable (diff) | |
download | meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.zip meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.gz meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.bz2 meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.xz |
Merge branch 'next' of git://github.com/imprudence/imprudence into next
Removed the new "Set your own Imprudence tag colour feature". Should check though, might be bits left that where not obvious.
Conflicts:
.gitignore
linden/indra/cmake/00-Common.cmake
linden/indra/newview/llvoavatar.cpp
linden/indra/newview/res/viewerRes.rc
linden/indra/newview/skins/default/xui/en-us/panel_login.xml
linden/indra/newview/viewer_manifest.py
linden/indra/newview/viewerinfo.cpp
The usual branding conflicts.
Diffstat (limited to 'linden/indra/newview/llfloatersnapshot.cpp')
-rw-r--r-- | linden/indra/newview/llfloatersnapshot.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloatersnapshot.cpp b/linden/indra/newview/llfloatersnapshot.cpp index e007680..55e108b 100644 --- a/linden/indra/newview/llfloatersnapshot.cpp +++ b/linden/indra/newview/llfloatersnapshot.cpp | |||
@@ -1114,10 +1114,10 @@ LLSnapshotLivePreview::ESnapshotType LLFloaterSnapshot::Impl::getTypeIndex(LLFlo | |||
1114 | LLFloaterSnapshot::ESnapshotFormat LLFloaterSnapshot::Impl::getFormatIndex(LLFloaterSnapshot* floater) | 1114 | LLFloaterSnapshot::ESnapshotFormat LLFloaterSnapshot::Impl::getFormatIndex(LLFloaterSnapshot* floater) |
1115 | { | 1115 | { |
1116 | ESnapshotFormat index = SNAPSHOT_FORMAT_PNG; | 1116 | ESnapshotFormat index = SNAPSHOT_FORMAT_PNG; |
1117 | if(floater->hasChild("local_format_combo")) | 1117 | if (floater->hasChild("local_format_combo")) |
1118 | { | 1118 | { |
1119 | LLComboBox* local_format_combo = floater->getChild<LLComboBox>("local_format_combo"); | 1119 | LLComboBox* local_format_combo = floater->getChild<LLComboBox>("local_format_combo"); |
1120 | const std::string id = local_format_combo->getSelectedItemLabel(); | 1120 | const std::string id = local_format_combo->getValue().asString(); |
1121 | if (id == "PNG") | 1121 | if (id == "PNG") |
1122 | index = SNAPSHOT_FORMAT_PNG; | 1122 | index = SNAPSHOT_FORMAT_PNG; |
1123 | else if (id == "JPEG") | 1123 | else if (id == "JPEG") |
@@ -1136,10 +1136,10 @@ LLFloaterSnapshot::ESnapshotFormat LLFloaterSnapshot::Impl::getFormatIndex(LLFlo | |||
1136 | LLViewerWindow::ESnapshotType LLFloaterSnapshot::Impl::getLayerType(LLFloaterSnapshot* floater) | 1136 | LLViewerWindow::ESnapshotType LLFloaterSnapshot::Impl::getLayerType(LLFloaterSnapshot* floater) |
1137 | { | 1137 | { |
1138 | LLViewerWindow::ESnapshotType type = LLViewerWindow::SNAPSHOT_TYPE_COLOR; | 1138 | LLViewerWindow::ESnapshotType type = LLViewerWindow::SNAPSHOT_TYPE_COLOR; |
1139 | if(floater->hasChild("layer_types")) | 1139 | if (floater->hasChild("layer_types")) |
1140 | { | 1140 | { |
1141 | LLComboBox* layer_types = floater->getChild<LLComboBox>("layer_types"); | 1141 | LLComboBox* layer_types = floater->getChild<LLComboBox>("layer_types"); |
1142 | const std::string id = layer_types->getSelectedItemLabel(); | 1142 | const std::string id = layer_types->getValue().asString(); |
1143 | if (id == "colors") | 1143 | if (id == "colors") |
1144 | type = LLViewerWindow::SNAPSHOT_TYPE_COLOR; | 1144 | type = LLViewerWindow::SNAPSHOT_TYPE_COLOR; |
1145 | else if (id == "depth") | 1145 | else if (id == "depth") |