diff --git a/src/bin/render_lines_gui.rs b/src/bin/render_lines_gui.rs index 9e3373e..cdd8a64 100644 --- a/src/bin/render_lines_gui.rs +++ b/src/bin/render_lines_gui.rs @@ -303,7 +303,7 @@ fn laser_frame_producer(model: &mut LaserModel, frame: &mut laser::Frame){ let space = &model.current_lines.space; let pointno = points.len(); - dbg!(&model.config.name); + // dbg!(&model.config.name); let mut new_points = Vec::new(); for point in points.into_iter() { diff --git a/src/trap/laser.rs b/src/trap/laser.rs index 6d019cc..97c6760 100644 --- a/src/trap/laser.rs +++ b/src/trap/laser.rs @@ -81,6 +81,7 @@ const LASER_H: Mat3 = python_cv_h_into_mat3(TMP_PYTHON_LASER_H); impl Default for DacConfig{ fn default() -> DacConfig{ - DacConfig { name: "Unknown".into(), homography: Mat3::IDENTITY } + //DacConfig { name: "Unknown".into(), homography: Mat3::IDENTITY } + DacConfig { name: "Unknown".into(), homography: LASER_H } } -} \ No newline at end of file +}