From ab71e2a9b55e0982d1134792d10af55464c7ac9e Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Mon, 22 May 2006 21:03:43 +0000 Subject: -added basic support for GameActuator 'load game', relative paths were broken, just load file into memory and load blend from memory. -near sensor support - python binding for PhysicsConstraints.setNumTimeSubSteps (dividing the physics timestep to tradeoff quality for performance) --- source/gameengine/SceneGraph/SG_Node.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/gameengine/SceneGraph') diff --git a/source/gameengine/SceneGraph/SG_Node.cpp b/source/gameengine/SceneGraph/SG_Node.cpp index c2a662c1fa2..aaacd43646b 100644 --- a/source/gameengine/SceneGraph/SG_Node.cpp +++ b/source/gameengine/SceneGraph/SG_Node.cpp @@ -186,6 +186,9 @@ void SG_Node::RemoveChild(SG_Node* child) void SG_Node::UpdateWorldData(double time) { + //if (!GetSGParent()) + // return; + if (UpdateSpatialData(GetSGParent(),time)) ActivateUpdateTransformCallback(); -- cgit v1.2.3