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

Stop using deprecated functions in the testsuite #2182

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

sebastienblor
Copy link
Collaborator

Changes proposed in this pull request
Several cpp tests are calling functions that are marked as deprecated. This PR fixes them

@sebastienblor sebastienblor marked this pull request as draft January 10, 2025 16:48
@@ -7,14 +7,14 @@ int main(int argc, char **argv)
{
AiMsgSetConsoleFlags(nullptr, AI_LOG_ALL);
AiBegin();
AiSceneLoad(nullptr, "scene.ass", nullptr);
AiSceneWrite(nullptr, "scene_exported.usda", nullptr);
AiSceneLoad(nullptr, AtString("scene.ass"), nullptr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AiSceneLoad/Write take a const char* filename so not sure there is any benefit to use an AtString like this

@sebastienblor sebastienblor marked this pull request as ready for review January 30, 2025 09:23
@sebastienblor sebastienblor requested review from ThiagoIze and cpichard and removed request for ThiagoIze January 30, 2025 09:23
@sebastienblor sebastienblor merged commit 42b1cac into Autodesk:master Jan 30, 2025
9 checks passed
@sebastienblor sebastienblor deleted the fix_tests_100125 branch January 30, 2025 13:46
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.

3 participants