diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-22 16:16:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-22 16:16:41 +0400 |
commit | a8592d09d0173bab0e3eb66a315146e164cf14a4 (patch) | |
tree | f73a0f025a2a673ad3d9f22273d02f72225e1e52 /source/gameengine/Ketsji/KX_Light.cpp | |
parent | c09b1a985c29e59736eef619e2dae1a1dcf2d73a (diff) |
BGE C++ API
Some functions used
ProcessReplica(replica);
others
replica->ProcessReplica()
Use the second method everywhere so the PyObjectPlus's ProcessReplica() can be called from its subclasses.
Note that PyObjectPlus's ProcessReplica isnt used yet.
Diffstat (limited to 'source/gameengine/Ketsji/KX_Light.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_Light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_Light.cpp b/source/gameengine/Ketsji/KX_Light.cpp index c5189907714..a426953602b 100644 --- a/source/gameengine/Ketsji/KX_Light.cpp +++ b/source/gameengine/Ketsji/KX_Light.cpp @@ -85,7 +85,7 @@ CValue* KX_LightObject::GetReplica() // this will copy properties and so on... CValue::AddDataToReplica(replica); - ProcessReplica(replica); + replica->ProcessReplica(); replica->m_lightobj.m_worldmatrix = replica->GetOpenGLMatrixPtr(); m_rendertools->AddLight(&replica->m_lightobj); |