1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00

Increase the ray distance for dropObjectOnGround (Fixes #3010)

This commit is contained in:
scrawl 2015-11-12 23:05:44 +01:00
parent 0965a9059d
commit 8cd41f0ed4

View File

@ -1870,7 +1870,7 @@ namespace MWWorld
orig.z() += 20;
osg::Vec3f dir (0, 0, -1);
float len = 100.0;
float len = 1000000.0;
MWRender::RenderingManager::RayResult result = mRendering->castRay(orig, orig+dir*len, true, true);
if (result.mHit)