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 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;
}; };