Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed May 17, 2024
1 parent 5106e51 commit 1768d00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/outline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ fn update_inner(
for (entity, inner_mesh_outline) in &query {
for descendant in children_query.iter_descendants(entity) {
if let Ok(mesh_entity) = mesh_query.get(descendant) {
// TODO we may be able to fix the "separate outline for tower head and body"
// problem by only adding the OutlineBundle to the toplevel mesh and then adding
// InheritOutlineBundle to every descendant of that mesh.
commands.entity(mesh_entity).insert(OutlineBundle {
outline: OutlineVolume {
width: inner_mesh_outline.width,
Expand Down

0 comments on commit 1768d00

Please sign in to comment.