[ImageEngine/cortex] 00721c: IECoreUSD : Use `/` for resolved paths.

0 views
Skip to first unread message

Eric Mehl

unread,
Sep 18, 2024, 5:26:30 AM9/18/24
to cortex...@googlegroups.com
Branch: refs/heads/RB-10.5
Home: https://github.com/ImageEngine/cortex
Commit: 00721c4bbdc720c10d8a8c9f7823e82fb111f44d
https://github.com/ImageEngine/cortex/commit/00721c4bbdc720c10d8a8c9f7823e82fb111f44d
Author: Eric Mehl <er...@thinkhypothetical.com>
Date: 2024-09-18 (Wed, 18 Sep 2024)

Changed paths:
M Changes
M contrib/IECoreUSD/src/IECoreUSD/DataAlgo.cpp
M contrib/IECoreUSD/src/IECoreUSD/VolumeAlgo.cpp
M contrib/IECoreUSD/test/IECoreUSD/USDSceneTest.py

Log Message:
-----------
IECoreUSD : Use `/` for resolved paths.

On Windows, the result of USD's `GetResolvedPath()` method returns the
resolved path using `\` between directories. This can cause problems
when doing string substition on a resolved path since the `\` will be
interpreted as the start of an escape character. Using `/` also
conforms to Cortex's standard of always using `/` for paths because they
work on all operating systems.



To unsubscribe from these emails, change your notification settings at https://github.com/ImageEngine/cortex/settings/notifications
Reply all
Reply to author
Forward
0 new messages