BGE cleanup: remove Base from KX_Light.h

This commit is contained in:
Dalai Felinto 2017-11-09 15:28:46 -02:00
parent 3dde21f97e
commit 06a7db85bc
2 changed files with 1 additions and 4 deletions

View File

@ -87,8 +87,6 @@ CValue* KX_LightObject::GetReplica()
replica->m_lightobj = m_lightobj->Clone();
replica->m_lightobj->m_light = replica;
m_rasterizer->AddLight(replica->m_lightobj);
if (m_base)
m_base = NULL;
return replica;
}

View File

@ -38,7 +38,7 @@
struct GPULamp;
struct Scene;
struct BaseLegacy;
struct Base;
class KX_Camera;
class RAS_IRasterizer;
class RAS_ILightObject;
@ -51,7 +51,6 @@ protected:
RAS_ILightObject* m_lightobj;
class RAS_IRasterizer* m_rasterizer; //needed for registering and replication of lightobj
Scene* m_blenderscene;
BaseLegacy* m_base;
public:
KX_LightObject(void* sgReplicationInfo,SG_Callbacks callbacks,RAS_IRasterizer* rasterizer,RAS_ILightObject* lightobj, bool glsl);