From b5a04532c5c1cee266473b52ed5eaff2b851dfe8 Mon Sep 17 00:00:00 2001 From: TheRawMeatball Date: Sat, 18 Dec 2021 17:53:21 +0000 Subject: [PATCH] Rename render UiSystem to RenderUiSystem (#3371) Without this name clash makes it impossible to order relative to the ui extract systems. --- crates/bevy_ui/src/render/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bevy_ui/src/render/mod.rs b/crates/bevy_ui/src/render/mod.rs index d7e97bccc5..2604685254 100644 --- a/crates/bevy_ui/src/render/mod.rs +++ b/crates/bevy_ui/src/render/mod.rs @@ -54,7 +54,7 @@ pub const UI_SHADER_HANDLE: HandleUntyped = HandleUntyped::weak_from_u64(Shader::TYPE_UUID, 13012847047162779583); #[derive(Debug, Hash, PartialEq, Eq, Clone, SystemLabel)] -pub enum UiSystem { +pub enum RenderUiSystem { ExtractNode, } @@ -78,11 +78,11 @@ pub fn build_ui_render(app: &mut App) { .add_system_to_stage(RenderStage::Extract, extract_ui_camera_phases) .add_system_to_stage( RenderStage::Extract, - extract_uinodes.label(UiSystem::ExtractNode), + extract_uinodes.label(RenderUiSystem::ExtractNode), ) .add_system_to_stage( RenderStage::Extract, - extract_text_uinodes.after(UiSystem::ExtractNode), + extract_text_uinodes.after(RenderUiSystem::ExtractNode), ) .add_system_to_stage(RenderStage::Prepare, prepare_uinodes) .add_system_to_stage(RenderStage::Queue, queue_uinodes)