diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-10 10:41:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-10 10:41:16 +0300 |
commit | b9211135ef9911678b776ed202f6ee4d0a73833b (patch) | |
tree | 9ddf13528fa12cd4a05f40978f6b2b6123695f6f /source/gameengine/Ketsji/KX_Light.h | |
parent | f137c4535a4bdc11b4d273fb9683ae4d35cd8dfd (diff) |
[#21261] Bugfix for dynamically loaded scenes' lights not mixing in multitexture
from Mitchell Stokes (moguri)
Diffstat (limited to 'source/gameengine/Ketsji/KX_Light.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_Light.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h index c31f33f26ae..334aed1995d 100644 --- a/source/gameengine/Ketsji/KX_Light.h +++ b/source/gameengine/Ketsji/KX_Light.h @@ -65,6 +65,8 @@ public: void UnbindShadowBuffer(class RAS_IRasterizer *ras); void Update(); + void UpdateScene(class KX_Scene *kxscene) {m_lightobj.m_scene = (void*)kxscene;} + virtual int GetGameObjectType() { return OBJ_LIGHT; } #ifndef DISABLE_PYTHON |