Correctly display held root item
This commit is contained in:
@@ -16,7 +16,6 @@ lightsToRender :: Configuration -> Camera -> LWorld -> [(Point3, Float, Point3)]
|
||||
lightsToRender cfig campos w = take (fromEnum $ cfig ^. graphics_num_shadow_casters) $
|
||||
sortOn (\(_,x,_) -> negate x) $
|
||||
mapMaybe getLS (IM.elems $ w ^. lightSources)
|
||||
-- ++ mapMaybe getTLS (w ^. tempLightSources)
|
||||
++ mapMaybe getlsparam (w ^. lights)
|
||||
where
|
||||
getLS = getlsparam . _lsParam
|
||||
|
||||
Reference in New Issue
Block a user