Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Dec 14, 2023
1 parent e8867de commit 8f852f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/re_viewer/src/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions crates/re_viewport/src/viewport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8f852f0

Please sign in to comment.