Fix #27635: GLSL filter uniform variable not set for group instance.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 13 Jun 2011 11:36:25 +0000 (11:36 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 13 Jun 2011 11:36:25 +0000 (11:36 +0000)
commite8eefbf757a4efae618809d3c54f4c5594b9daf0
treebe6bada6210ada613a7e3741ed18da06f95471de
parent1b1fdd7ecf7f1e1b428ec7b9f41fb09493c2248b
Fix #27635: GLSL filter uniform variable not set for group instance.

The problem was that SCA_2DFilterActuator was defining and using a
variable called "m_gameObj", when it should be using "m_gameobj" as
defined by SCA_ILogicBrick. The way it was, reparenting did only half
the work required to duplicate the actuator.

Patch by Alex Fraser, thanks!
source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
source/gameengine/GameLogic/SCA_2DFilterActuator.h