Skip to content

Commit

Permalink
Unify split & clone
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurBrussee committed Feb 25, 2025
1 parent b38b7aa commit 6138989
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 182 deletions.
9 changes: 4 additions & 5 deletions crates/brush-process/src/rerun_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,13 @@ impl VisualizeTools {
if let Some(rec) = self.rec.as_ref() {
if rec.is_enabled() {
rec.set_time_sequence("iterations", iter);

let _ = rec.log(
"refine/num_transparent_pruned",
&rerun::Scalar::new(refine.num_transparent_pruned as f64),
"refine/num_added",
&rerun::Scalar::new(refine.num_added as f64),
);
let _ = rec.log(
"refine/num_scale_pruned",
&rerun::Scalar::new(refine.num_scale_pruned as f64),
"refine/num_pruned",
&rerun::Scalar::new(refine.num_pruned as f64),
);
}
}
Expand Down
Loading

0 comments on commit 6138989

Please sign in to comment.