Fix thunderbird traffic light in legacy video drivers
This commit is contained in:
parent
7109729010
commit
683f5ece7f
@ -155,8 +155,10 @@ Referee::Referee()
|
||||
// mesh. ATM it doesn't make any difference, but if we ever should
|
||||
// decide to use more than one referee model at startup we only
|
||||
// have to change the textures once, and all models will be in synch.
|
||||
//
|
||||
// Disabled due to texture matrix not working in legacy video drivers
|
||||
m_scene_node = irr_driver->addAnimatedMesh(NULL, "referee");
|
||||
m_scene_node->setReadOnlyMaterials(true);
|
||||
//m_scene_node->setReadOnlyMaterials(true);
|
||||
m_scene_node->setMesh(m_st_referee_mesh);
|
||||
m_scene_node->grab();
|
||||
m_scene_node->setRotation(m_st_start_rotation.toIrrVector());
|
||||
@ -191,7 +193,7 @@ Referee::Referee(const AbstractKart &kart)
|
||||
// decide to use more than one referee model at startup we only
|
||||
// have to change the textures once, and all models will be in synch.
|
||||
m_scene_node = irr_driver->addAnimatedMesh(NULL, "referee");
|
||||
m_scene_node->setReadOnlyMaterials(true);
|
||||
//m_scene_node->setReadOnlyMaterials(true);
|
||||
m_scene_node->setMesh(m_st_referee_mesh);
|
||||
m_scene_node->grab();
|
||||
m_scene_node->setScale(m_st_scale.toIrrVector());
|
||||
|
Loading…
Reference in New Issue
Block a user