diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-11-09 20:28:46 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-11-09 20:45:19 +0300 |
commit | 06a7db85bce8ff38a432a4159c7caf0636db6d77 (patch) | |
tree | 08b42b586f55a27ad0863c13f35b09b887378f3f /source/gameengine | |
parent | 3dde21f97ef6a7b4c2dfb1dc196530de04a1576a (diff) |
BGE cleanup: remove Base from KX_Light.h
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_Light.cpp | 2 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_Light.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/KX_Light.cpp b/source/gameengine/Ketsji/KX_Light.cpp index 6b66a4c7599..fcdcdf4a02a 100644 --- a/source/gameengine/Ketsji/KX_Light.cpp +++ b/source/gameengine/Ketsji/KX_Light.cpp @@ -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; } diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h index 469f2d62b76..b354fca4d41 100644 --- a/source/gameengine/Ketsji/KX_Light.h +++ b/source/gameengine/Ketsji/KX_Light.h @@ -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); |