Remove trailing whitespaces

This commit is contained in:
Balint-H
2025-03-24 12:02:11 +00:00
parent 621e250d63
commit 744b37753b
2 changed files with 5 additions and 5 deletions
@@ -159,8 +159,8 @@ public class MjImporterWithAssets : MjcfImporter {
$"Attempted to load: {sourceFilePath}"); $"Attempted to load: {sourceFilePath}");
} }
var targetFilePath = Path.Combine(_targetMeshesDir, assetReferenceName var targetFilePath =
+ Path.GetExtension(sourceFilePath)); Path.Combine(_targetMeshesDir, assetReferenceName + Path.GetExtension(sourceFilePath));
if (File.Exists(targetFilePath)) { if (File.Exists(targetFilePath)) {
File.Delete(targetFilePath); File.Delete(targetFilePath);
} }