mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Fix look-at vectors not rendering if not looking at me
This commit is contained in:
parent
87ca7626d7
commit
3f38a835d8
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ void Head::relaxLean(float deltaTime) {
|
|||
}
|
||||
|
||||
void Head::render(RenderArgs* renderArgs, float alpha, ViewFrustum* renderFrustum, bool postLighting) {
|
||||
if (_renderLookatVectors && _isLookingAtMe) {
|
||||
if (_renderLookatVectors) {
|
||||
renderLookatVectors(renderArgs, _leftEyePosition, _rightEyePosition, getCorrectedLookAtPosition());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue