mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
Hotfix: Console spam when animation retargeting is not running (#40)
This PR eliminates the console spam when a scene is loaded without an animation retargeting source.
This commit is contained in:
@@ -40,12 +40,8 @@ fn copy_pose(
|
||||
mut q_xforms: Query<&mut Transform>,
|
||||
q_world_xforms: Query<&GlobalTransform>,
|
||||
) {
|
||||
let src_root = match q_src_root.get_single() {
|
||||
Ok(src_root) => src_root,
|
||||
Err(err) => {
|
||||
error!("{err}");
|
||||
return;
|
||||
}
|
||||
let Ok(src_root) = q_src_root.get_single() else {
|
||||
return;
|
||||
};
|
||||
|
||||
let src_height = match q_skel_height.get(src_root) {
|
||||
|
||||
Reference in New Issue
Block a user