1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 19:06:40 +00:00

Revert "Fix LightSource crash"

This reverts commit f336c6db87.

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