mirror of https://github.com/wayvr-org/wayvr.git
reduce spam
This commit is contained in:
parent
832e5a7ecb
commit
c9ac5f5bb3
|
|
@ -208,7 +208,7 @@ impl OverlayData<OpenVrOverlayData> {
|
||||||
m_pQueue: graphics.queue.handle().as_raw() as *mut _,
|
m_pQueue: graphics.queue.handle().as_raw() as *mut _,
|
||||||
m_nQueueFamilyIndex: graphics.queue.queue_family_index(),
|
m_nQueueFamilyIndex: graphics.queue.queue_family_index(),
|
||||||
};
|
};
|
||||||
log::info!(
|
log::debug!(
|
||||||
"{}: UploadTex {:?}, {}x{}, {:?}",
|
"{}: UploadTex {:?}, {}x{}, {:?}",
|
||||||
self.state.name,
|
self.state.name,
|
||||||
format,
|
format,
|
||||||
|
|
@ -219,6 +219,6 @@ impl OverlayData<OpenVrOverlayData> {
|
||||||
if let Err(e) = overlay.set_image_vulkan(handle, &mut texture) {
|
if let Err(e) = overlay.set_image_vulkan(handle, &mut texture) {
|
||||||
panic!("Failed to set overlay texture: {}", e);
|
panic!("Failed to set overlay texture: {}", e);
|
||||||
}
|
}
|
||||||
log::info!("{}: Uploaded texture", self.state.name);
|
log::debug!("{}: Uploaded texture", self.state.name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ impl PlayspaceMover {
|
||||||
let pointer = &state.input_state.pointers[hand];
|
let pointer = &state.input_state.pointers[hand];
|
||||||
if !pointer.now.space_drag {
|
if !pointer.now.space_drag {
|
||||||
self.drag_hand = None;
|
self.drag_hand = None;
|
||||||
|
log::info!("End space drag");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -48,6 +49,7 @@ impl PlayspaceMover {
|
||||||
if pointer.now.space_drag {
|
if pointer.now.space_drag {
|
||||||
self.drag_hand = Some(i);
|
self.drag_hand = Some(i);
|
||||||
self.start_position = pointer.pose.translation;
|
self.start_position = pointer.pose.translation;
|
||||||
|
log::info!("Start space drag");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue