Skip to content

Fix for migration of newly added default arguments - #7655

Merged
aparajit-pratap merged 6 commits into
DynamoDS:masterfrom
aparajit-pratap:fixDefault_master
Apr 20, 2017
Merged

aparajit-pratap merged 6 commits into
DynamoDS:masterfrom
aparajit-pratap:fixDefault_master

Conversation

@aparajit-pratap

Copy link
Copy Markdown
Contributor

Purpose

Refer #4518. There is a bug in migrating old nodes to newer ones that have added default arguments. The current implementation does not work for instance method nodes, i.e., nodes that have the first argument as the this object. For example:

Mesh::Remesh() => Mesh::Remesh(double density = 0.25)

... the Remesh node in MeshToolkit library is an instance method that takes in a mesh as its first argument. On adding a new default argument to this method, the old method without arguments failed as the default input port was not enabled upon migration.

Declarations

Check these if you believe they are true

  • The code base 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.

Reviewers

@sharadkjaiswal

…ynamoDS#7623)

* update LibG binaries

* cherry-pick: update preloader for ASM223

* remove support for LibG220

* update test frameworks to preload appropriate ASM version

* remove ASM220 library version

* update LibG binaries for newer ASM 223 version used in Revit2018

* fix flaky test case

* recover from geometry exceptions thrown during manipulator creation

* fix for graph re-execution after changing scaling
@aparajit-pratap
aparajit-pratap merged commit ba35213 into DynamoDS:master Apr 20, 2017
@aparajit-pratap
aparajit-pratap deleted the fixDefault_master branch April 20, 2017 07:55
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.

1 participant