Skip to content

Commit

Permalink
Fix unwanted collider check
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Jun 11, 2024
1 parent 9858b00 commit ebc18ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DCL_PiXYZ/PXZClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ private async Task ConvertScene(PXZConversionParams pxzParams, SceneConversionPa
modifiers.Add(new PXZBeginCleanMaterials());
modifiers.Add(new PXZRepairMesh(models));
modifiers.Add(new PXZMaterialNameRandomizer());
modifiers.Add(new PXZDeleteByName(".*collider.*"));

if (pxzParams.LodLevel != 0)
{
modifiers.Add(new PXZDeleteByName(".*collider.*"));
modifiers.Add(new PXZDecimator(sceneConversionInfo.SceneImporter.GetSceneBasePointer(), pxzParams.DecimationType,
pxzParams.DecimationValue, pxzParams.ParcelAmount, pathHandler));
modifiers.Add(new PXZMergeMeshes(pxzParams.LodLevel));
Expand Down

0 comments on commit ebc18ca

Please sign in to comment.