Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2009-05-22 10:12:18 +0400
committerDalai Felinto <dfelinto@gmail.com>2009-05-22 10:12:18 +0400
commitec60c74f081b006a6e8aebefe930a37aac95b865 (patch)
treebd56d584c9b3fab323ec50292e7c5f136e034465 /source/gameengine/Ketsji/KX_Light.h
parent612f3b326662498207e6e051feeceaac81e09343 (diff)
Fix for: energy IPO not supported in glsl mode (reported in the forum).
in fact I redid part of the last "fix", making it working properly now. Before we were changing Lamp->la . This is the Blender Lamp, we shouldn't touch it. So this part of the code is correct now. Things that could be tackled: - color attribute is returning negative values when NEGATIVE is toggled - objects with no material (default gray one) still don't support lamp spots (not spot lamp but the spot of the lamps)
Diffstat (limited to 'source/gameengine/Ketsji/KX_Light.h')
-rw-r--r--source/gameengine/Ketsji/KX_Light.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h
index 690231ff090..35f25515e3b 100644
--- a/source/gameengine/Ketsji/KX_Light.h
+++ b/source/gameengine/Ketsji/KX_Light.h
@@ -44,7 +44,6 @@ class KX_LightObject : public KX_GameObject
Py_Header;
protected:
RAS_LightObject m_lightobj;
- float m_initialvalues [4];
class RAS_IRenderTools* m_rendertools; //needed for registering and replication of lightobj
bool m_glsl;
Scene* m_blenderscene;