Commit Graph

6 Commits

Author SHA1 Message Date
yoan stamant
a703fee91b NavigationDataHandler: prevent registration of an element that should not be registered when processing the parent chain.
One problematic scenario is when all components from an actor are unregistered and one of them is the navigation parent of the others. In this case, the parent may be unregistered before some of its children and then calls to UpdateNavOctreeParentChain from a child may queue back the unregistered parent. UpdateNavOctreeParentChain will now consider the actual status of the parent (Added or queued for add) before registering it or its children.

[at]mieszko.zielinski [at]guillaume.guay
#rb mieszko.zielinski, guillaume.guay


#ROBOMERGE-SOURCE: CL 8552772 via CL 8557168
#ROBOMERGE-BOT: (v406-8472469)

[CL 8557314 by yoan stamant in Main branch]
2019-09-06 16:30:54 -04:00
maxime mercier
3404e04afb Fix regression in reachitecture of NavSystem
#rb stephane.delmer
#rnx


#ROBOMERGE-SOURCE: CL 7678434 via CL 7678435 via CL 7683318
#ROBOMERGE-BOT: (v382-7680231)

[CL 7683469 by maxime mercier in Main branch]
2019-08-01 10:35:59 -04:00
mieszko zielinski
5beeedf257 Added some ensure in NavigationSystem to track down some server crashes related to obsolete entries in ObjectToOctreeId
#rnx
[at]maxime.mercier,[at]mieszko.zielinski
#rb mieszko.zielinski


#ROBOMERGE-OWNER: mieszko.zielinski
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 7307208 via CL 7315100
#ROBOMERGE-BOT: (v371-7306989)

[CL 7318580 by mieszko zielinski in Main branch]
2019-07-16 05:52:45 -04:00
Mieszko Zielinski
22b436775d Removed the octree reference from FNavigationOctreeElement
Submitting to Main as a follow up to 7308751

#jira none
#rb Yoan.StAmant
#review-7308772 Yoan.StAmant
#okforgitub public

[CL 7309638 by Mieszko Zielinski in Main branch]
2019-07-15 12:47:46 -04:00
mieszko zielinski
dba21ecc9d Fixed wrong copyright dates in NavigationDataHandler
#rb none


#ROBOMERGE-SOURCE: CL 7250275 via CL 7262923
#ROBOMERGE-BOT: (v369-7254125)

[CL 7263084 by mieszko zielinski in Main branch]
2019-07-10 13:44:06 -04:00
mieszko zielinski
f7f3268d52 Extracted NavigationSystemV1's logic concerning NavOctree and navigation DirtyAreas into a separate structures for reusability
Notable changes:
- Added FNavigationOctreeController that wraps up what used to be NavigationSystemV1's navoctree-related logic
- Added FNavigationDirtyAreasController that wraps up what used to be NavigationSystemV1's DirtyAreas-related logic
- Added FNavigationDataHandler that is a helper struct that wraps up what used to be NavigationSystemV1's logic related to operation involving both navoctree and dirty areas
- Deprecated both FNavDataConfig.NavigationDataClass and FNavDataConfig.NavigationDataClassName and replaced them with a single NavDataClass property
- FNavigationOctree is not responsible for hashing element objects and storing their ElementId
- NavOctree elements how know about the octree they belong to (via a member property).

[at]Yoan.StAmant, [at]Maxime.Mercier, [at]Guillaume.Guay
#rb Yoan.StAmant


#ROBOMERGE-OWNER: mieszko.zielinski
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 7249089 via CL 7262555
#ROBOMERGE-BOT: (v369-7254125)

[CL 7262559 by mieszko zielinski in Main branch]
2019-07-10 13:31:21 -04:00