Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pablode committed Jul 13, 2024
1 parent 464ee74 commit 66999d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libguc/src/cgltf_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace detail
TF_DEBUG(GUC).Msg("reading file %s\n", path);

// ArResolver fails to resolve paths with prefix "./" - we remove it.
fs::path relativePath = fs::relative(path);
fs::path relativePath = path;//fs::relative(path);

ArResolver& resolver = ArGetResolver();
ArResolvedPath resolvedPath = resolver.Resolve(relativePath.string());
Expand Down
2 changes: 1 addition & 1 deletion src/libguc/src/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ namespace detail
TF_DEBUG(GUC).Msg("reading image %s\n", path);

// ArResolver fails to resolve paths with prefix "./" - we remove it.
fs::path relativePath = fs::relative(path);
fs::path relativePath = path;//fs::relative(path);

ArResolver& resolver = ArGetResolver();
ArResolvedPath resolvedPath = resolver.Resolve(relativePath.string());
Expand Down

0 comments on commit 66999d6

Please sign in to comment.