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

DYN-7155: Update libg build that contains fully qualified namespaces for default args #15336

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

aparajit-pratap
Copy link
Contributor

@aparajit-pratap aparajit-pratap commented Jun 20, 2024

Purpose

  • Update libg build that contains fully qualified namespaces for default args to avoid namespace conflicts
  • Any nodemodel nodes that belong to namespaces that are excluded from the library are also excluded from appearing - this is a fix for the PanelSurfaceBoundaryCondition nodemodel node appearing even after disabling paneling from under Preferences->Experimental

TODO:

  • Cherry-pick to 3.2.1

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

Geometry nodes now contain fully qualified namespaces for default args to avoid namespace conflicts

Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

@aparajit-pratap aparajit-pratap changed the title Update libg build that contains fully qualified namespaces for default args DYN-7155: Update libg build that contains fully qualified namespaces for default args Jun 20, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7155

{
if (namespaces[index] == "ProtoGeometry.dll:Autodesk.DesignScript.Geometry.Panel")
{
namespaces[index] = $"ProtoGeometry.dll:{typeof(Autodesk.DesignScript.Geometry.PanelSurface).FullName}";
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

{
var namespc = ns.Split(":").LastOrDefault();

return namespc != null && namespc.Contains(typeLoadData.Category);
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@sm6srw sm6srw left a comment

Choose a reason for hiding this comment

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

LGTM!

@aparajit-pratap aparajit-pratap merged commit a16334b into DynamoDS:master Jun 20, 2024
29 of 32 checks passed
@aparajit-pratap aparajit-pratap deleted the updatelibg branch June 20, 2024 17:42
@QilongTang QilongTang added this to the 3.2.1 milestone Jun 20, 2024
@QilongTang
Copy link
Contributor

Awesome, thank you for taking additional time to fix for C3D users

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