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
This commit is contained in:
parent
6b1974c459
commit
d6a325b879
@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user