From d6a325b879fc583a6a4950e91cb592a0ce1f7a3b Mon Sep 17 00:00:00 2001 From: hikerstk Date: Fri, 29 May 2009 15:43:21 +0000 Subject: [PATCH] Fixed 'disappearing' rubber bands. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3550 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/items/rubber_band.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/items/rubber_band.cpp b/src/items/rubber_band.cpp index cf2793bc7..d4003cf9b 100644 --- a/src/items/rubber_band.cpp +++ b/src/items/rubber_band.cpp @@ -96,6 +96,7 @@ void RubberBand::updatePosition() v[2].Pos.X = k.getX()+hh; v[2].Pos.Z=k.getY(); v[2].Pos.Y = k.getZ()+hh; v[3].Pos.X = k.getX()-hh; v[3].Pos.Z=k.getY(); v[3].Pos.Y = k.getZ()-hh; m_buffer->recalculateBoundingBox(); + m_mesh->setBoundingBox(m_buffer->getBoundingBox()); } // updatePosition // ----------------------------------------------------------------------------