[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18271] trunk/blender/source/gameengine/ GameLogic/SCA_2DFilterActuator.cpp: BGE bug #18070 fixed: 2dFilter actuator is always pulsed.
Benoit Bolsee
benoit.bolsee at online.be
Fri Jan 2 23:15:05 CET 2009
Revision: 18271
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18271
Author: ben2610
Date: 2009-01-02 23:15:05 +0100 (Fri, 02 Jan 2009)
Log Message:
-----------
BGE bug #18070 fixed: 2dFilter actuator is always pulsed.
Modified Paths:
--------------
trunk/blender/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
Modified: trunk/blender/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
===================================================================
--- trunk/blender/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp 2009-01-02 22:09:57 UTC (rev 18270)
+++ trunk/blender/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp 2009-01-02 22:15:05 UTC (rev 18271)
@@ -74,7 +74,8 @@
{
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;
}
More information about the Bf-blender-cvs
mailing list