From 8f852f08439d445442027b49568595123796b075 Mon Sep 17 00:00:00 2001 From: Jeremy Leibs Date: Thu, 14 Dec 2023 22:37:33 +0100 Subject: [PATCH] Rename --- crates/re_viewer/src/app_state.rs | 2 +- crates/re_viewport/src/viewport.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/re_viewer/src/app_state.rs b/crates/re_viewer/src/app_state.rs index bcdeb7238bd2..fad212e89915 100644 --- a/crates/re_viewer/src/app_state.rs +++ b/crates/re_viewer/src/app_state.rs @@ -280,7 +280,7 @@ impl AppState { }); // Process deferred layout operations and apply updates back to blueprint - viewport.update_and_sync_layout(&ctx); + viewport.update_and_sync_tile_tree_to_blueprint(&ctx); { // We move the time at the very end of the frame, diff --git a/crates/re_viewport/src/viewport.rs b/crates/re_viewport/src/viewport.rs index 74fdddb2b20c..17b55d7df84a 100644 --- a/crates/re_viewport/src/viewport.rs +++ b/crates/re_viewport/src/viewport.rs @@ -295,8 +295,8 @@ impl<'a, 'b> Viewport<'a, 'b> { true } - /// Process any deferred `TreeActions` and then sync to store - pub fn update_and_sync_layout(&mut self, ctx: &ViewerContext<'_>) { + /// Process any deferred `TreeActions` and then sync to blueprint + pub fn update_and_sync_tile_tree_to_blueprint(&mut self, ctx: &ViewerContext<'_>) { // At the end of the Tree-UI, we can safely apply deferred actions. let mut reset = std::mem::take(&mut self.deferred_tree_actions.reset);