Skip to content

Commit

Permalink
Fix capsule light not being added to scene.
Browse files Browse the repository at this point in the history
  • Loading branch information
clementlandrin authored and clementlandrin committed Jan 31, 2024
1 parent c73ccc8 commit 0ff8450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrt/prefab/Light.hx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class Light extends Object3D {
case Point: object = new h3d.scene.pbr.PointLight(parent3d);
case Directional: object = new h3d.scene.pbr.DirLight(parent3d, cascade);
case Spot: object = new h3d.scene.pbr.SpotLight(parent3d);
case Capsule: object = new h3d.scene.pbr.CapsuleLight(local3d);
case Capsule: object = new h3d.scene.pbr.CapsuleLight(parent3d);
}
}

Expand Down

0 comments on commit 0ff8450

Please sign in to comment.