forked from bartvdbraak/blender
BGE cleanup: remove Base from KX_Light.h
This commit is contained in:
parent
3dde21f97e
commit
06a7db85bc
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user