remove unnecessary log statements
This commit is contained in:
@@ -241,7 +241,7 @@ impl<G: xr::Graphics> SwapchainInner<G> {
|
||||
}
|
||||
|
||||
None => {
|
||||
bevy::log::info!("Rendering without pass through");
|
||||
// bevy::log::info!("Rendering without pass through");
|
||||
self.stream.lock().unwrap().end(
|
||||
predicted_display_time,
|
||||
environment_blend_mode,
|
||||
|
||||
@@ -180,11 +180,9 @@ pub fn update_hand_bones(
|
||||
error!("something is very wrong for hand_tracking!! doesn't have data for both hands!");
|
||||
}
|
||||
|
||||
info!("hand_tracking");
|
||||
bones
|
||||
.par_iter_mut()
|
||||
.for_each(|(mut transform, hand, bone, mut radius, mut status)| {
|
||||
info!("hand_tracking bone before filter");
|
||||
match (&hand, disabled_tracking.as_ref().map(|d| d.as_ref())) {
|
||||
(Hand::Left, Some(DisableHandTracking::OnlyLeft)) => {
|
||||
*status = BoneTrackingStatus::Emulated;
|
||||
@@ -196,17 +194,14 @@ pub fn update_hand_bones(
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
info!("hand_tracking bone mid filter");
|
||||
let bone_data = match (hand, &left_hand_data, &right_hand_data) {
|
||||
(Hand::Left, Some(data), _) => data.get_joint(*bone),
|
||||
(Hand::Right, _, Some(data)) => data.get_joint(*bone),
|
||||
(hand, left_data, right_data) => {
|
||||
info!("{:?},{:?},{:?}", hand, left_data, right_data);
|
||||
*status = BoneTrackingStatus::Emulated;
|
||||
return;
|
||||
}
|
||||
};
|
||||
info!("hand_tracking bone after filter");
|
||||
if *status == BoneTrackingStatus::Emulated {
|
||||
*status = BoneTrackingStatus::Tracked;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user