Skip to content

Commit

Permalink
Add XXX
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jan 19, 2018
1 parent ccd28c8 commit d711d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Layers/xrRender/WallmarksEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ void CWallmarksEngine::AddSkeletonWallmark(
if (0 == g_r || ::RImplementation.phase != CRender::PHASE_NORMAL)
return;
// optimization cheat: don't allow wallmarks more than 50 m from viewer/actor
// XXX: Make console command for this
if (xf->c.distance_to_sqr(Device.vCameraPosition) > _sqr(50.f))
return;

Expand Down

0 comments on commit d711d59

Please sign in to comment.