Skip to content

Commit c0682e7

Browse files
authored
path -> IOPath (#306)
1 parent 25aefa8 commit c0682e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WarpLib/Movie.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public void SaveMotionTracks()
317317

318318
// Serialize to JSON, creating directory first if necessary
319319
string json = JsonSerializer.Serialize(motionTracks);
320-
string directoryPath = Path.GetDirectoryName(MotionTracksPath);
320+
string directoryPath = IOPath.GetDirectoryName(MotionTracksPath);
321321
if (!string.IsNullOrEmpty(directoryPath))
322322
Directory.CreateDirectory(directoryPath);
323323
File.WriteAllText(MotionTracksPath, json);

0 commit comments

Comments
 (0)