From 202ee23b252627be7edf9f3cc37023c33042a18d Mon Sep 17 00:00:00 2001 From: Dander7BD Date: Wed, 4 Dec 2013 11:49:33 +0100 Subject: [PATCH] Octtree::leafData Container should be kept updated now --- Code/GamePhysics/Implementation/Octree.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/GamePhysics/Implementation/Octree.cpp b/Code/GamePhysics/Implementation/Octree.cpp index 4da48863..b841b49d 100644 --- a/Code/GamePhysics/Implementation/Octree.cpp +++ b/Code/GamePhysics/Implementation/Octree.cpp @@ -184,6 +184,7 @@ unsigned int Octree::GetTemporaryReferenceOf( const ICustomBody* objRef ) const void Octree::SetAsAltered( unsigned int tempRef ) { + this->leafData[tempRef].container = this->leafData[tempRef].customBodyRef->GetBoundingSphere(); //! @todo TODO: implement stub }