From: <hik...@us...> - 2011-11-22 00:18:57
|
Revision: 10235 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=10235&view=rev Author: hikerstk Date: 2011-11-22 00:18:51 +0000 (Tue, 22 Nov 2011) Log Message: ----------- Try to fix #504: the wheel model was not freed, resulting in using textures which were not reloaded (since the mesh was taken from the mesh cache). Modified Paths: -------------- main/trunk/src/karts/kart_model.cpp Modified: main/trunk/src/karts/kart_model.cpp =================================================================== --- main/trunk/src/karts/kart_model.cpp 2011-11-21 22:24:40 UTC (rev 10234) +++ main/trunk/src/karts/kart_model.cpp 2011-11-22 00:18:51 UTC (rev 10235) @@ -147,7 +147,7 @@ } if(m_is_master && m_wheel_model[i]) irr_driver->dropAllTextures(m_wheel_model[i]); - + irr_driver->removeMeshFromCache(m_wheel_model[i]); } if(m_is_master) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |