Skip to content

Commit

Permalink
Replace spaces with underscores when sanitizing USD paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Dec 2, 2024
1 parent d5cfadf commit e47bbc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue_ar/usd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ def material_for_mesh(mesh: UsdGeom.Mesh) -> UsdShade.Material:


def sanitize_path(path: str) -> str:
return sub(r"[-\(\)\[\]]+", "_", path)
return sub(r"[-\(\)\[\] ]+", "_", path)

0 comments on commit e47bbc7

Please sign in to comment.