(c5f9e6070) Fixed lighting artifacts cause by the LOS changes

This commit is contained in:
Joonas Rikkonen
2019-04-02 12:40:50 +03:00
parent b2c71e92c0
commit 6de0fa4b73
2 changed files with 3 additions and 3 deletions
@@ -453,7 +453,7 @@ namespace Barotrauma.Lights
foreach (ConvexHull hull in hulls)
{
hull.RefreshWorldPositions();
hull.GetVisibleSegments(drawPos, visibleSegments);
hull.GetVisibleSegments(drawPos, visibleSegments, ignoreEdges: false);
}
//Generate new points at the intersections between segments