BGE bug #18070 fixed: 2dFilter actuator is always pulsed.
authorBenoit Bolsee <benoit.bolsee@online.be>
Fri, 2 Jan 2009 22:15:05 +0000 (22:15 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Fri, 2 Jan 2009 22:15:05 +0000 (22:15 +0000)
source/gameengine/GameLogic/SCA_2DFilterActuator.cpp

index 9ec4ea0..a708301 100644 (file)
@@ -74,7 +74,8 @@ bool SCA_2DFilterActuator::Update()
        {
                m_rendertools->Update2DFilter(m_propNames, m_gameObj, m_type, m_int_arg, m_shaderText);
        }
-    return true;
+       // once the filter is in place, no need to update it again => disable the actuator
+    return false;
 }