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:
authorCampbell Barton <ideasman42@gmail.com>2010-02-22 15:25:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-22 15:25:58 +0300
commit4ef1fd1078bbdb8ecb905fc9cd3db60c378408b0 (patch)
tree408bbfb210658cae5a9075791d59dc4c7a4623a9 /source/gameengine/GamePlayer/ghost/GPG_Application.cpp
parentdd03793f4edd455c09a1a2273e5e991dd3bd702b (diff)
game engine support for recording animation back & some other minor changes.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_Application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
index d39b6fbda17..43b26cf9a06 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
@@ -710,8 +710,8 @@ bool GPG_Application::startEngine(void)
// Set the animation playback rate for ipo's and actions
// the framerate below should patch with FPS macro defined in blendef.h
// Could be in StartEngine set the framerate, we need the scene to do this
-// XXX m_ketsjiengine->SetAnimFrameRate( (((double) scene->r.frs_sec) / scene->r.frs_sec_base) );
-
+ Scene *scene= startscene->GetBlenderScene(); // needed for macro
+ m_ketsjiengine->SetAnimFrameRate(FPS);
}
if (!m_engineRunning)