Skip to content

Commit

Permalink
dependency shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Oct 18, 2023
1 parent cdc5535 commit bb4da17
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions rerun_py/src/python_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ fn set_panels(
timeline_view_expanded: Option<bool>,
blueprint: Option<&PyRecordingStream>,
) {
use rerun::external::re_viewer::blueprint::PanelView;
// TODO(jleibs): This should go away as part of https://github.com/rerun-io/rerun/issues/2089
use re_viewer::blueprint::PanelView;

if let Some(expanded) = blueprint_view_expanded {
set_panel(PanelView::BLUEPRINT_VIEW_PATH, expanded, blueprint);
Expand All @@ -711,7 +712,8 @@ fn set_panel(entity_path: &str, is_expanded: bool, blueprint: Option<&PyRecordin
return;
};

use rerun::external::re_viewer::blueprint::PanelView;
// TODO(jleibs): This should go away as part of https://github.com/rerun-io/rerun/issues/2089
use re_viewer::blueprint::PanelView;

// TODO(jleibs): Validation this is a valid blueprint path?
let entity_path = parse_entity_path(entity_path);
Expand Down Expand Up @@ -781,7 +783,8 @@ fn set_auto_space_views(enabled: bool, blueprint: Option<&PyRecordingStream>) {
return;
};

use rerun::external::re_viewport::blueprint::AutoSpaceViews;
// TODO(jleibs): This should go away as part of https://github.com/rerun-io/rerun/issues/2089
use re_viewport::blueprint::AutoSpaceViews;

let enable_auto_space = AutoSpaceViews(enabled);

Expand Down

0 comments on commit bb4da17

Please sign in to comment.