Bugfix: placed bubble gum would lose smooth shading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d1a2795682
commit
86f9741b73
@ -60,6 +60,7 @@ void Item::switchTo(ItemType type, scene::IMesh *mesh)
|
||||
m_original_type = m_type;
|
||||
m_type = type;
|
||||
m_node->setMesh(mesh);
|
||||
m_node->setMaterialFlag(video::EMF_LIGHTING, false);
|
||||
} // switchTo
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user