Skip to content

Commit 33bc6ed

Browse files
authored
Merge pull request #4380 from secondlife/andreyk/gltf_mesh_import
Merge develop into gltf mesh import
2 parents 7a33f22 + af3ef42 commit 33bc6ed

File tree

5 files changed

+45
-8
lines changed

5 files changed

+45
-8
lines changed

.github/pull_request_template.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## Description
2+
3+
<!--
4+
Describe what this PR changes or adds. Include any relevant context or motivation.
5+
-->
6+
7+
## Related Issues
8+
9+
- [ ] **Please link to a relevant GitHub issue for additional context.**
10+
- **Bug Fix:** Link to an issue that includes reproduction steps and testing guidance.
11+
- **Feature/Enhancement:** Link to an issue with a write-up, rationale, and requirements.
12+
13+
Issue Link: <!-- e.g., closes #123 or relates to #456 -->
14+
15+
---
16+
17+
## Checklist
18+
19+
Please ensure the following before requesting review:
20+
21+
- [ ] I have provided a clear title and detailed description for this pull request.
22+
- [ ] The PR is linked to a relevant issue with sufficient context.
23+
- [ ] I have tested the changes locally and verified they work as intended.
24+
- [ ] All new and existing tests pass.
25+
- [ ] Code follows the project's style guidelines.
26+
- [ ] Documentation has been updated if needed.
27+
- [ ] Any dependent changes have been merged and published in downstream modules
28+
- [ ] I have reviewed the [contributing guidelines](https://github.com/secondlife/viewer/blob/develop/CONTRIBUTING.md).
29+
30+
---
31+
32+
## Additional Notes
33+
34+
<!--
35+
Add any other information, screenshots, or suggestions for reviewers here.
36+
-->

indra/newview/llfloaterworldmap.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,14 +1694,15 @@ void LLFloaterWorldMap::updateSims(bool found_null_sim)
16941694
if (!match.isUndefined())
16951695
{
16961696
mSearchResults->selectByValue(match);
1697+
mSearchResults->setFocus(true);
1698+
onCommitSearchResult();
16971699
}
1698-
// else select first found item
1700+
// else let user decide
16991701
else
17001702
{
1701-
mSearchResults->selectFirstItem();
1703+
mSearchResults->operateOnAll(LLCtrlListInterface::OP_DESELECT);
1704+
mSearchResults->setFocus(true);
17021705
}
1703-
mSearchResults->setFocus(true);
1704-
onCommitSearchResult();
17051706
}
17061707
else
17071708
{

indra/newview/lltoolpie.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ bool LLToolPie::shouldAllowFirstMediaInteraction(const LLPickInfo& pick, bool mo
15271527
return false;
15281528
}
15291529
// Any object with PRIM_MEDIA_FIRST_CLICK_INTERACT set to TRUE
1530-
if(FirstClickPref & MEDIA_FIRST_CLICK_ANY)
1530+
if((FirstClickPref & MEDIA_FIRST_CLICK_ANY) == MEDIA_FIRST_CLICK_ANY)
15311531
{
15321532
LL_DEBUGS_ONCE() << "FirstClickPref & MEDIA_FIRST_CLICK_ANY" << LL_ENDL;
15331533
return true;

indra/newview/lltoolpie.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ class LLToolPie : public LLTool, public LLSingleton<LLToolPie>
9494
MEDIA_FIRST_CLICK_NONE = 0, // Special case: Feature is disabled
9595
MEDIA_FIRST_CLICK_HUD = 1 << 0, // 0b00000001 (1)
9696
MEDIA_FIRST_CLICK_OWN = 1 << 1, // 0b00000010 (2)
97-
MEDIA_FIRST_CLICK_GROUP = 1 << 2, // 0b00000100 (4)
98-
MEDIA_FIRST_CLICK_FRIEND = 1 << 3, // 0b00001000 (8)
97+
MEDIA_FIRST_CLICK_FRIEND = 1 << 2, // 0b00000100 (4)
98+
MEDIA_FIRST_CLICK_GROUP = 1 << 3, // 0b00001000 (8)
9999
MEDIA_FIRST_CLICK_LAND = 1 << 4, // 0b00010000 (16)
100100

101101
// Covers any object with PRIM_MEDIA_FIRST_CLICK_INTERACT (combines all previous flags)

indra/newview/skins/default/xui/en/panel_preferences_sound.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@
410410
<item
411411
label="Friends' objects"
412412
name="media_first_click_friend"
413-
value="11"/>
413+
value="7"/>
414414
<item
415415
label="Group objects"
416416
name="media_first_click_group"

0 commit comments

Comments
 (0)