Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed directory name creation in URDF Importer #431

Merged

Conversation

lewandowskikacper
Copy link
Contributor

#394 resolved #392 by introducing dirSuffix - additional directory path part, that was added in order to make it unique.

In #394 dirSuffix is an AZStd::string_view created from paramsUuid.ToString<AZStd::string_view>(), which is an error, as the string is a temporary value.
This PR changes it to be a AZStd::string instead, so that it's value lives for the duration of call to CopyAssetForURDFAndCreateAssetMap.

Signed-off-by: Kacper Lewandowski <kacper.lewandowski@robotec.ai>
@lewandowskikacper lewandowskikacper requested review from a team as code owners July 26, 2023 14:36
Signed-off-by: Kacper Lewandowski <kacper.lewandowski@robotec.ai>
@adamdbrw adamdbrw merged commit 4923d33 into o3de:development Jul 28, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URDF Importer: Single xacro file with multiple configurations
4 participants