Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Sep 16, 2024
1 parent 58d368c commit be2a3dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions crates/scene_runner/src/update_world/gltf_container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -462,7 +468,9 @@ fn update_ready_gltfs(
shadows_enabled: true,
..*spot
},
LightEntity { scene: dcl_scene_entity.root },
LightEntity {
scene: dcl_scene_entity.root,
},
));
}

Expand Down
2 changes: 1 addition & 1 deletion crates/user_input/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit be2a3dc

Please sign in to comment.