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:
parent
0965a9059d
commit
8cd41f0ed4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user