mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-17 16:36:33 -04:00
Fix starting distance not being correctly set.
This commit is contained in:
parent
08d055ca23
commit
09bce73c33
@ -502,7 +502,7 @@ namespace CSVRender
|
|||||||
if (intersector->getIntersections().begin() != intersector->getIntersections().end())
|
if (intersector->getIntersections().begin() != intersector->getIntersections().end())
|
||||||
{
|
{
|
||||||
mCenter = intersector->getIntersections().begin()->getWorldIntersectPoint();
|
mCenter = intersector->getIntersections().begin()->getWorldIntersectPoint();
|
||||||
mDistance = (eye - center).length();
|
mDistance = (eye - mCenter).length();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user