Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
1ef0b447
Commit
1ef0b447
authored
2 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Fix pathfinding linkset floater
parent
951056a8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
indra/newview/llpathfindingmanager.cpp
+11
-5
11 additions, 5 deletions
indra/newview/llpathfindingmanager.cpp
indra/newview/llpathfindingmanager.h
+2
-1
2 additions, 1 deletion
indra/newview/llpathfindingmanager.h
indra/newview/llviewerregion.cpp
+1
-0
1 addition, 0 deletions
indra/newview/llviewerregion.cpp
with
14 additions
and
6 deletions
indra/newview/llpathfindingmanager.cpp
+
11
−
5
View file @
1ef0b447
...
...
@@ -61,7 +61,8 @@
#define CAP_SERVICE_NAVMESH_STATUS "NavMeshGenerationStatus"
#define CAP_SERVICE_OBJECT_LINKSETS "RegionObjects"
#define CAP_SERVICE_GET_OBJECT_LINKSETS "RegionObjects"
#define CAP_SERVICE_SET_OBJECT_LINKSETS "ObjectNavMeshProperties"
#define CAP_SERVICE_TERRAIN_LINKSETS "TerrainNavMeshProperties"
#define CAP_SERVICE_CHARACTERS "CharacterProperties"
...
...
@@ -246,7 +247,7 @@ void LLPathfindingManager::requestGetLinksets(request_id_t pRequestId, object_re
}
else
{
std
::
string
objectLinksetsURL
=
getObjectLinksetsURLForCurrentRegion
();
std
::
string
objectLinksetsURL
=
get
Retrieve
ObjectLinksetsURLForCurrentRegion
();
std
::
string
terrainLinksetsURL
=
getTerrainLinksetsURLForCurrentRegion
();
if
(
objectLinksetsURL
.
empty
()
||
terrainLinksetsURL
.
empty
())
{
...
...
@@ -275,7 +276,7 @@ void LLPathfindingManager::requestSetLinksets(request_id_t pRequestId, const LLP
{
LLPathfindingObjectListPtr
emptyLinksetListPtr
;
std
::
string
objectLinksetsURL
=
getObjectLinksetsURLForCurrentRegion
();
std
::
string
objectLinksetsURL
=
get
Change
ObjectLinksetsURLForCurrentRegion
();
std
::
string
terrainLinksetsURL
=
getTerrainLinksetsURLForCurrentRegion
();
if
(
objectLinksetsURL
.
empty
()
||
terrainLinksetsURL
.
empty
())
{
...
...
@@ -757,9 +758,14 @@ std::string LLPathfindingManager::getRetrieveNavMeshURLForRegion(LLViewerRegion
return
getCapabilityURLForRegion
(
pRegion
,
CAP_SERVICE_RETRIEVE_NAVMESH
);
}
std
::
string
LLPathfindingManager
::
getObjectLinksetsURLForCurrentRegion
()
const
std
::
string
LLPathfindingManager
::
get
Retrieve
ObjectLinksetsURLForCurrentRegion
()
const
{
return
getCapabilityURLForCurrentRegion
(
CAP_SERVICE_OBJECT_LINKSETS
);
return
getCapabilityURLForCurrentRegion
(
CAP_SERVICE_GET_OBJECT_LINKSETS
);
}
std
::
string
LLPathfindingManager
::
getChangeObjectLinksetsURLForCurrentRegion
()
const
{
return
getCapabilityURLForCurrentRegion
(
CAP_SERVICE_SET_OBJECT_LINKSETS
);
}
std
::
string
LLPathfindingManager
::
getTerrainLinksetsURLForCurrentRegion
()
const
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llpathfindingmanager.h
+
2
−
1
View file @
1ef0b447
...
...
@@ -122,7 +122,8 @@ class LLPathfindingManager final : public LLSingleton<LLPathfindingManager>
std
::
string
getNavMeshStatusURLForCurrentRegion
()
const
;
std
::
string
getNavMeshStatusURLForRegion
(
LLViewerRegion
*
pRegion
)
const
;
std
::
string
getRetrieveNavMeshURLForRegion
(
LLViewerRegion
*
pRegion
)
const
;
std
::
string
getObjectLinksetsURLForCurrentRegion
()
const
;
std
::
string
getRetrieveObjectLinksetsURLForCurrentRegion
()
const
;
std
::
string
getChangeObjectLinksetsURLForCurrentRegion
()
const
;
std
::
string
getTerrainLinksetsURLForCurrentRegion
()
const
;
std
::
string
getCharactersURLForCurrentRegion
()
const
;
std
::
string
getAgentStateURLForRegion
(
LLViewerRegion
*
pRegion
)
const
;
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llviewerregion.cpp
+
1
−
0
View file @
1ef0b447
...
...
@@ -3189,6 +3189,7 @@ void LLViewerRegionImpl::buildCapabilityNames(LLSD& capabilityNames)
capabilityNames
.
append
(
"ObjectAnimation"
);
capabilityNames
.
append
(
"ObjectMedia"
);
capabilityNames
.
append
(
"ObjectMediaNavigate"
);
capabilityNames
.
append
(
"ObjectNavMeshProperties"
);
capabilityNames
.
append
(
"ParcelPropertiesUpdate"
);
capabilityNames
.
append
(
"ParcelVoiceInfoRequest"
);
capabilityNames
.
append
(
"ProductInfoRequest"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment