-
Notifications
You must be signed in to change notification settings - Fork 4
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
Shallow clone BarVaryingDistributedLoad so the returned objects are not modified #385
Shallow clone BarVaryingDistributedLoad so the returned objects are not modified #385
Conversation
Looking at some of the similar CRUD methods they look quite similar. Could the same issue be present in those as well or has that been ruled out ? In that case a similar change should be implemented for those. MidasCivil_Toolkit/MidasCivil_Adapter/CRUD/Create/Loads/BarUniformlyDistributedLoads.cs Lines 39 to 43 in ebe9abd
MidasCivil_Toolkit/MidasCivil_Adapter/CRUD/Create/Loads/BarUniformlyDistributedLoads.cs Lines 60 to 63 in ebe9abd
|
@BHoMBot check compliance |
@peterjamesnugent to confirm, the following actions are now queued:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested using test script provided. Gives same values for loads from original, push and pull components for:
- AreaUniformlyDistributedLoads
- BarPointLoad
- BarUniformlyDistributedLoads
- BarVaryingDistributedLoad
@BHoMBot check required |
@peterjamesnugent to confirm, the following actions are now queued:
|
The check |
The check |
@BHoMBot check ready-to-merge |
@peterjamesnugent to confirm, the following actions are now queued:
|
Issues addressed by this PR
Closes #274
Test files
#274 BarVaryingDistributedLoad
Changelog
BarVaryingDistributedLoads
are created to remove any modification of the base object;