This commit is contained in:
parent
360bf5094b
commit
4e63ad21d1
|
@ -176,12 +176,6 @@ impl Viewshed {
|
||||||
}
|
}
|
||||||
if new_visible_entities != **visible_entities {
|
if new_visible_entities != **visible_entities {
|
||||||
for lost in visible_entities.difference(&new_visible_entities) {
|
for lost in visible_entities.difference(&new_visible_entities) {
|
||||||
if let Ok((_, _, transform)) = visible_query.get(*lost) {
|
|
||||||
// println!(
|
|
||||||
// "transition: {:?} loses {:?} at {:?}",
|
|
||||||
// viewer_entity, lost, transform.translation
|
|
||||||
// );
|
|
||||||
}
|
|
||||||
events.send(VisibilityChanged::Lost {
|
events.send(VisibilityChanged::Lost {
|
||||||
viewer: *viewer_entity,
|
viewer: *viewer_entity,
|
||||||
viewed: *lost,
|
viewed: *lost,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user