Skip to content

Commit

Permalink
Added case insensitive fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Feb 28, 2024
1 parent 54e6e7b commit 7b37f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DCL_PiXYZ/PiXYZWorflow/PXZDeleteByName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public async Task ApplyModification(PiXYZAPI pxz)
{

Console.WriteLine("BEGIN PXZ DELETE BY NAME FOR REGEX " + regex);
OccurrenceList occurenceToDelete = pxz.Scene.FindOccurrencesByProperty("Name", regex);
var occurenceToDelete = pxz.Scene.FindOccurrencesByProperty("Name", regex, caseInsensitive: true);
foreach (uint u in occurenceToDelete.list)
pxz.Scene.DeleteComponentByType(ComponentType.Part, u);
}
Expand Down

0 comments on commit 7b37f7a

Please sign in to comment.