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

Fix LightSource crash

This commit is contained in:
scrawl 2015-10-29 00:51:35 +01:00
parent 9b8e45fc01
commit f336c6db87

View File

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