File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ namespace RGL
161
161
return ;
162
162
}
163
163
164
- m_entityTagListeners.emplace_back ( entity.GetId ());
164
+ m_entityTagListeners.emplace (entity. GetId (), entity.GetId ());
165
165
166
166
if (m_activeLidarCount < 1U || ShouldEntityBeExcluded (entity.GetId ()))
167
167
{
@@ -176,6 +176,7 @@ namespace RGL
176
176
{
177
177
m_unprocessedEntities.erase (id);
178
178
m_entityManagers.erase (id);
179
+ m_entityTagListeners.erase (id);
179
180
}
180
181
181
182
void RGLSystemComponent::OnEntityContextReset ()
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ namespace RGL
86
86
87
87
AZStd::set<AZ::EntityId> m_excludedEntities;
88
88
AZStd::set<AZ::EntityId> m_unprocessedEntities;
89
+ AZStd::unordered_map<AZ::EntityId, EntityTagListener> m_entityTagListeners;
89
90
AZStd::vector<AZ::EntityId> m_managersToBeRemoved;
90
91
AZStd::unordered_map<AZ::EntityId, AZStd::unique_ptr<EntityManager>> m_entityManagers;
91
- AZStd::vector<EntityTagListener> m_entityTagListeners;
92
92
93
93
AZStd::vector<LmbrCentral::Tag> m_excludedTags;
94
94
You can’t perform that action at this time.
0 commit comments