From: <au...@us...> - 2011-08-29 00:52:12
|
Revision: 9651 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=9651&view=rev Author: auria Date: 2011-08-29 00:52:06 +0000 (Mon, 29 Aug 2011) Log Message: ----------- Fixed some material flags not being set on textures that don't appear in materials.xml Modified Paths: -------------- main/trunk/src/graphics/material_manager.cpp Modified: main/trunk/src/graphics/material_manager.cpp =================================================================== --- main/trunk/src/graphics/material_manager.cpp 2011-08-29 00:42:56 UTC (rev 9650) +++ main/trunk/src/graphics/material_manager.cpp 2011-08-29 00:52:06 UTC (rev 9651) @@ -88,6 +88,11 @@ mb->getMaterial().setFlag(video::EMF_TRILINEAR_FILTER, true); } + mb->getMaterial().ColorMaterial = video::ECM_DIFFUSE_AND_AMBIENT; + + if (UserConfigParams::m_fullscreen_antialiasing) + mb->getMaterial().AntiAliasing = video::EAAM_LINE_SMOOTH; + } // setAllMaterialFlags //----------------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |