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
@ -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 New Issue
Block a user