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