mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 09:51:21 +00:00
Fix debugHovered logic
This commit is contained in:
parent
25db5f6e44
commit
a29a0a583b
@ -159,6 +159,7 @@ void ImGuiConsole::UpdateEntityEntries() {
|
||||
if (entry.isActor) {
|
||||
LerpDebugColor(entry.AsActor());
|
||||
}
|
||||
entry.ent->m_debugHovered = false;
|
||||
uid = list.GetNextObjectIndex(uid);
|
||||
}
|
||||
}
|
||||
@ -662,9 +663,6 @@ void ImGuiConsole::PostUpdate() {
|
||||
inspectingEntities.erase(item.uid);
|
||||
item.uid = kInvalidUniqueId;
|
||||
item.ent = nullptr; // for safety
|
||||
} else {
|
||||
// Clear debug hovered
|
||||
ent->m_debugHovered = false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user