mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Fix entity leak in extract_uinode_borders
(#15626)
# Objective Fix for another leak, this time when extracting outlines.
This commit is contained in:
parent
336c23c1aa
commit
9bb27e97c5
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ pub fn extract_uinode_borders(
|
|||
if let Some(outline) = maybe_outline {
|
||||
let outline_size = uinode.outlined_node_size();
|
||||
extracted_uinodes.uinodes.insert(
|
||||
commands.spawn_empty().id(),
|
||||
commands.spawn(TemporaryRenderEntity).id(),
|
||||
ExtractedUiNode {
|
||||
stack_index: uinode.stack_index,
|
||||
transform: global_transform.compute_matrix(),
|
||||
|
|
Loading…
Reference in a new issue