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>2008-06-14 21:12:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-06-14 21:12:49 +0400
commitfc7a83b458811883b01e948a37e6177ae96602db (patch)
tree8188c60e419df90e1f0c699c2d227e3d6290ae7a /source/gameengine/SceneGraph/SG_Node.cpp
parent9c2bf9bdbcc23bb008af543b4fbbdf7c33d0decd (diff)
Added access for adjusting timeOffset value at runtime, used for apricot (Franky climbing walls)
Diffstat (limited to 'source/gameengine/SceneGraph/SG_Node.cpp')
-rw-r--r--source/gameengine/SceneGraph/SG_Node.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/gameengine/SceneGraph/SG_Node.cpp b/source/gameengine/SceneGraph/SG_Node.cpp
index ff9a9f7f371..4e90d7c4653 100644
--- a/source/gameengine/SceneGraph/SG_Node.cpp
+++ b/source/gameengine/SceneGraph/SG_Node.cpp
@@ -159,6 +159,17 @@ IsVertexParent()
return false;
}
+ bool
+SG_Node::
+IsSlowParent()
+{
+ if (m_parent_relation)
+ {
+ return m_parent_relation->IsSlowRelation();
+ }
+ return false;
+}
+
void
SG_Node::
DisconnectFromParent(