mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Fix LightSource crash
This commit is contained in:
parent
9b8e45fc01
commit
f336c6db87
@ -76,7 +76,7 @@ namespace SceneUtil
|
||||
|
||||
struct LightSourceTransform
|
||||
{
|
||||
LightSource* mLightSource;
|
||||
osg::ref_ptr<LightSource> mLightSource;
|
||||
osg::Matrix mWorldMatrix;
|
||||
};
|
||||
|
||||
@ -84,7 +84,7 @@ namespace SceneUtil
|
||||
|
||||
struct LightSourceViewBound
|
||||
{
|
||||
LightSource* mLightSource;
|
||||
osg::ref_ptr<LightSource> mLightSource;
|
||||
osg::BoundingSphere mViewBound;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user