Blender Git Loki
Git Commits -> Revision 3a430c3
Revision 3a430c3 by Benoit Bolsee (master) April 30, 2008, 19:58 (GMT) |
fix BGE bug #8869: Added objects are not lit correctly The current layer information is now stored in KX_GameObject and inherited from the parent object when dynamically added. This information is used during the rendering the select the lamps. As the selected lamps are always coming from active layers, their position and orientation are correct. |
Commit Details:
Full Hash: 3a430c33d22d659ab3d73709f0dbc60a029e0893
SVN Revision: 14629
Parent Commit: 93ba2dd
Lines Changed: +54, -7
8 Modified Paths:
/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp (+4, -0) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+4, -1) (Diff)
/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+17, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+17, -0) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+2, -0) (Diff)
/source/gameengine/Rasterizer/RAS_IRenderTools.h (+4, -0) (Diff)
/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp (+2, -6) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+4, -1) (Diff)
/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+17, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+17, -0) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+2, -0) (Diff)
/source/gameengine/Rasterizer/RAS_IRenderTools.h (+4, -0) (Diff)
/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp (+2, -6) (Diff)