Skip to content

Commit

Permalink
added BSMeshLODTriShape to shape list
Browse files Browse the repository at this point in the history
  • Loading branch information
hakasapl committed Dec 18, 2024
1 parent 9e8c31d commit 9d85b8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Added pgtools.exe modding tools
- Parallax maps included in the pbr subdirectory will be considered a different "height pbr" texture type
- Closing mod sort dialog will now close the whole app
- BSMeshLODTriShapes will also be patched now

## [0.7.3] - 2024-12-09

Expand Down
2 changes: 1 addition & 1 deletion ParallaxGenLib/src/ParallaxGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ auto ParallaxGen::processShape(
// Check for exclusions
// only allow BSLightingShaderProperty blocks
string NIFShapeName = NIFShape->GetBlockName();
if (NIFShapeName != "NiTriShape" && NIFShapeName != "BSTriShape" && NIFShapeName != "BSLODTriShape") {
if (NIFShapeName != "NiTriShape" && NIFShapeName != "BSTriShape" && NIFShapeName != "BSLODTriShape" && NIFShapeName != "BSMeshLODTriShape") {
Logger::trace(L"Rejecting: Incorrect shape block type");
return Result;
}
Expand Down

0 comments on commit 9d85b8c

Please sign in to comment.