Open supertuxkart-sourceforge-migration opened 10 years ago
Author: auria I checked when it got broken : it's ok in r9756, broken in r9757
Author: auria The following patch fixes mines but breaks lighthouse, ARG
Index: src/tracks/track.cpp
===================================================================
--- src/tracks/track.cpp (revision 9786)
+++ src/tracks/track.cpp (working copy)
@@ -654,6 +654,9 @@
// to keep a reference to it.
//scene::ISceneNode *scene_node = irr_driver->addMesh(merged_mesh);
scene::IMeshSceneNode *scene_node = irr_driver->addOctTree(merged_mesh);
+
+ scene_node->setMaterialFlag(video::EMF_FOG_ENABLE, m_use_fog);
+
// We should drop the merged mesh (since it's now referred to in the
// scene node), but then we need to grab it since it's in the
// m_all_cached_meshes.
Author: auria Fixed in r9791, thanks for the report
Author: magned
Must have happened relatively recently.
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/422