mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 13:36:40 +00:00
Merge branch 'markers' into 'master'
Fix ESM4 marker model hiding hack See merge request OpenMW/openmw!3853
This commit is contained in:
commit
9e1cdaceff
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ namespace MWClass
|
||||||
// Hide meshes meshes/marker/* and *LOD.nif in ESM4 cells. It is a temporarty hack.
|
// Hide meshes meshes/marker/* and *LOD.nif in ESM4 cells. It is a temporarty hack.
|
||||||
// Needed because otherwise LOD meshes are rendered on top of normal meshes.
|
// Needed because otherwise LOD meshes are rendered on top of normal meshes.
|
||||||
// TODO: Figure out a better way find markers and LOD meshes; show LOD only outside of active grid.
|
// TODO: Figure out a better way find markers and LOD meshes; show LOD only outside of active grid.
|
||||||
if (model.empty() || Misc::StringUtils::ciStartsWith(model, "meshes\\marker")
|
if (model.empty() || Misc::StringUtils::ciStartsWith(model, "marker")
|
||||||
|| Misc::StringUtils::ciEndsWith(model, "lod.nif"))
|
|| Misc::StringUtils::ciEndsWith(model, "lod.nif"))
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue