[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49189] trunk/blender/source/gameengine/ Converter/BL_ActionActuator.cpp: BGE: A better fix for using the Action Actuator with the Actuator Sensor.

Mitchell Stokes mogurijin at gmail.com
Wed Jul 25 06:29:51 CEST 2012


Revision: 49189
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49189
Author:   moguri
Date:     2012-07-25 04:29:48 +0000 (Wed, 25 Jul 2012)
Log Message:
-----------
BGE: A better fix for using the Action Actuator with the Actuator Sensor. This one still allows frame properties to be updated after receiving a negative pulse. This also fixes bug [#32179] "Action Actuator in Loop End stops updating the Frame Property after no longer receives positive signal" reported by Dalai.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp

Modified: trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp	2012-07-24 23:49:50 UTC (rev 49188)
+++ trunk/blender/source/gameengine/Converter/BL_ActionActuator.cpp	2012-07-25 04:29:48 UTC (rev 49189)
@@ -339,7 +339,7 @@
 		}
 	}
 
-	return m_flag & ACT_FLAG_ATTEMPT_PLAY;
+	return m_flag & ACT_FLAG_ACTIVE;
 }
 
 #ifdef WITH_PYTHON




More information about the Bf-blender-cvs mailing list