1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 13:20:35 +00:00

Revert "Fix LightSource crash"

This reverts commit f336c6db87be04903c0a92ab0c749bfe290bb5f0.

Root cause should be fixed in next commit.
This commit is contained in:
scrawl 2015-11-06 22:35:12 +01:00
parent 72252d4f32
commit 0210b87ffc

View File

@ -76,7 +76,7 @@ namespace SceneUtil
struct LightSourceTransform
{
osg::ref_ptr<LightSource> mLightSource;
LightSource* mLightSource;
osg::Matrix mWorldMatrix;
};
@ -84,7 +84,7 @@ namespace SceneUtil
struct LightSourceViewBound
{
osg::ref_ptr<LightSource> mLightSource;
LightSource* mLightSource;
osg::BoundingSphere mViewBound;
};