reduce spam

This commit is contained in:
galister
2024-02-01 19:58:23 +01:00
parent 832e5a7ecb
commit c9ac5f5bb3
2 changed files with 4 additions and 2 deletions

View File

@@ -208,7 +208,7 @@ impl OverlayData<OpenVrOverlayData> {
m_pQueue: graphics.queue.handle().as_raw() as *mut _,
m_nQueueFamilyIndex: graphics.queue.queue_family_index(),
};
log::info!(
log::debug!(
"{}: UploadTex {:?}, {}x{}, {:?}",
self.state.name,
format,
@@ -219,6 +219,6 @@ impl OverlayData<OpenVrOverlayData> {
if let Err(e) = overlay.set_image_vulkan(handle, &mut texture) {
panic!("Failed to set overlay texture: {}", e);
}
log::info!("{}: Uploaded texture", self.state.name);
log::debug!("{}: Uploaded texture", self.state.name);
}
}

View File

@@ -30,6 +30,7 @@ impl PlayspaceMover {
let pointer = &state.input_state.pointers[hand];
if !pointer.now.space_drag {
self.drag_hand = None;
log::info!("End space drag");
return;
}
@@ -48,6 +49,7 @@ impl PlayspaceMover {
if pointer.now.space_drag {
self.drag_hand = Some(i);
self.start_position = pointer.pose.translation;
log::info!("Start space drag");
break;
}
}