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:
authorBenoit Bolsee <benoit.bolsee@online.be>2009-01-03 01:15:05 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2009-01-03 01:15:05 +0300
commit9ce30005debab6837d8f44443620c570391a0cb8 (patch)
tree350a38be22ea89345c622133dee1bec465e2b3a3 /source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
parent10702bf93f14441066ceba3204f932a5ba099c2e (diff)
BGE bug #18070 fixed: 2dFilter actuator is always pulsed.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_2DFilterActuator.cpp')
-rw-r--r--source/gameengine/GameLogic/SCA_2DFilterActuator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp b/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
index 9ec4ea00337..a70830193db 100644
--- a/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
@@ -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;
}