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:
authorMitchell Stokes <mogurijin@gmail.com>2013-08-03 09:01:23 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-08-03 09:01:23 +0400
commit5a042eb73438a60ccf2f62c6d57f5a97aff5760b (patch)
tree5d04f38d59fc9fa76634ba34ecf7c1e0883241a7 /source/gameengine
parentb5016e34ed570a3d99c47f37783a163daecf5178 (diff)
BGE: Removing some unreachable and unused code in BL_ActionManager.cpp.
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/BL_ActionManager.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/gameengine/Ketsji/BL_ActionManager.cpp b/source/gameengine/Ketsji/BL_ActionManager.cpp
index f3620a7b4ba..e3402972ca6 100644
--- a/source/gameengine/Ketsji/BL_ActionManager.cpp
+++ b/source/gameengine/Ketsji/BL_ActionManager.cpp
@@ -41,8 +41,6 @@ BL_ActionManager::~BL_ActionManager()
float BL_ActionManager::GetActionFrame(short layer)
{
return m_layers[layer]->GetFrame();
-
- return 0.f;
}
void BL_ActionManager::SetActionFrame(short layer, float frame)
@@ -53,8 +51,6 @@ void BL_ActionManager::SetActionFrame(short layer, float frame)
struct bAction *BL_ActionManager::GetCurrentAction(short layer)
{
return m_layers[layer]->GetAction();
-
- return 0;
}
void BL_ActionManager::SetPlayMode(short layer, short mode)
@@ -92,8 +88,6 @@ void BL_ActionManager::StopAction(short layer)
bool BL_ActionManager::IsActionDone(short layer)
{
return m_layers[layer]->IsDone();
-
- return true;
}
void BL_ActionManager::Update(float curtime)