diff --git a/crates/scene_runner/src/update_world/gltf_container.rs b/crates/scene_runner/src/update_world/gltf_container.rs index 88603b51..8609ec52 100644 --- a/crates/scene_runner/src/update_world/gltf_container.rs +++ b/crates/scene_runner/src/update_world/gltf_container.rs @@ -48,7 +48,11 @@ use ipfs::{EntityDefinition, IpfsAssetServer}; use scene_material::{SceneBound, SceneMaterial}; use super::{ - animation::Clips, lights::LightEntity, mesh_collider::{MeshCollider, MeshColliderShape}, transform_and_parent::TransformHelperPub, AddCrdtInterfaceExt, ComponentTracker + animation::Clips, + lights::LightEntity, + mesh_collider::{MeshCollider, MeshColliderShape}, + transform_and_parent::TransformHelperPub, + AddCrdtInterfaceExt, ComponentTracker, }; pub struct GltfDefinitionPlugin; @@ -453,7 +457,9 @@ fn update_ready_gltfs( shadows_enabled: true, ..*point }, - LightEntity { scene: dcl_scene_entity.root }, + LightEntity { + scene: dcl_scene_entity.root, + }, )); } if let Some(spot) = maybe_spot { @@ -462,7 +468,9 @@ fn update_ready_gltfs( shadows_enabled: true, ..*spot }, - LightEntity { scene: dcl_scene_entity.root }, + LightEntity { + scene: dcl_scene_entity.root, + }, )); } diff --git a/crates/user_input/src/lib.rs b/crates/user_input/src/lib.rs index bf4cbc1c..e86b9d10 100644 --- a/crates/user_input/src/lib.rs +++ b/crates/user_input/src/lib.rs @@ -115,7 +115,7 @@ fn manage_player_visibility( #[allow(clippy::collapsible_else_if)] if distance < 0.5 { - for child in children.iter_descendants(player) { + for child in children.iter_descendants(player) { // don't retarget the profile texture spotlight which we've attached to the avatar directly if spotlights.get(child).is_ok() { continue;