Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make custom_space_view example more verbose #3123

Merged
merged 2 commits into from
Aug 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions examples/rust/custom_space_view/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// This is used for analytics, if the `analytics` feature is on in `Cargo.toml`
let app_env = re_viewer::AppEnvironment::Custom("My extended Rerun Viewer".to_owned());

println!(
"This example starts a custom Rerun Viewer that is ready to accept data… you have to give it some!"
);
println!("Try for example to run: `cargo run -p minimal_options -- --connect` in another terminal instance.");

re_viewer::run_native_app(Box::new(move |cc, re_ui| {
let rx = re_viewer::wake_up_ui_thread_on_each_msg(rx, cc.egui_ctx.clone());

Expand Down