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>2008-05-02 19:47:08 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-05-02 19:47:08 +0400
commitf0a41d9d976f84db5c2c7cd6f2b38f7ce09642bd (patch)
treefaf59643da89b050b654457bf106026e4457392c /source/gameengine/GameLogic/SCA_MouseSensor.cpp
parentb846e7a3bf089de6808f517ec17c2cb447f764be (diff)
Partially revert BGE bug fix #8863: don't send keyboard sensor positive pulse on level, this would badly interfere with keyboard sensors controlling set scene/restart scene actuators. Only send negative pulse on level to stop actuators after scene suspend
Diffstat (limited to 'source/gameengine/GameLogic/SCA_MouseSensor.cpp')
-rw-r--r--source/gameengine/GameLogic/SCA_MouseSensor.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.cpp b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
index d8894ff593c..8810b7470ed 100644
--- a/source/gameengine/GameLogic/SCA_MouseSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
@@ -164,8 +164,10 @@ bool SCA_MouseSensor::Evaluate(CValue* event)
{
if (m_val == 0)
{
- m_val = 1;
- result = true;
+ //dangerous
+ //m_val = 1;
+ //result = true;
+ ;
}
} else
{