Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Ketsji/KX_Light.h')
-rw-r--r--source/gameengine/Ketsji/KX_Light.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h
index f88fc7f6a1b..43421a3faf3 100644
--- a/source/gameengine/Ketsji/KX_Light.h
+++ b/source/gameengine/Ketsji/KX_Light.h
@@ -37,6 +37,7 @@
struct GPULamp;
struct Scene;
+struct Base;
class KX_Camera;
class RAS_IRasterizer;
class RAS_IRenderTools;
@@ -50,6 +51,7 @@ protected:
class RAS_IRenderTools* m_rendertools; //needed for registering and replication of lightobj
bool m_glsl;
Scene* m_blenderscene;
+ Base* m_base;
public:
KX_LightObject(void* sgReplicationInfo,SG_Callbacks callbacks,class RAS_IRenderTools* rendertools,const struct RAS_LightObject& lightobj, bool glsl);
@@ -69,7 +71,7 @@ public:
struct Image *GetTextureImage(short texslot);
void Update();
- void UpdateScene(class KX_Scene *kxscene) {m_lightobj.m_scene = (void*)kxscene;}
+ void UpdateScene(class KX_Scene *kxscene);
virtual int GetGameObjectType() { return OBJ_LIGHT; }