Skip to content

Commit

Permalink
Fixed NiMeshPSysData and NiMeshParticleSystem being incorrectly filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
fo76utils committed Nov 16, 2024
1 parent c3c2d63 commit 603436f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/spells/blocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,9 @@ void blockFilter( NifModel * nif, std::list<QString>& blocks, const QString & ty
// Introduced in 20.2.0.8
|| (( s.startsWith( "NiPhysX" ) && nif->getVersionNumber() < 0x14020008 ))
// Introduced in 20.5
|| ( ((s.startsWith( "NiPS" ) && !s.contains( "PSys" )) || s.startsWith( "NiMesh" )
|| s.contains( "Evaluator" )
|| ( ((s.startsWith( "NiPS" ) && !s.contains( "PSys" ))
|| (s.startsWith( "NiMesh" ) && !s.startsWith( "NiMeshP" ))
|| s.contains( "Evaluator" )
) && nif->getVersionNumber() < 0x14050000 )
// Deprecated in 20.5
|| ( (s.startsWith( "NiParticle" ) || s.contains( "PSys" ) || s.startsWith( "NiTri" )
Expand Down

0 comments on commit 603436f

Please sign in to comment.