PMKS-Web / PMKSWeb

An educational web-based tool designed for comprehensive 2D linkage analysis developed at WPI (Worcester Polytechnic Institute)
https://pmksplus.com
3 stars 2 forks source link

When you delete a link, make sure to delete the force as well #139

Closed AlexG1031 closed 1 year ago

AlexG1031 commented 1 year ago

This issue is a bit more difficult than it first appears.

Ideally now when you create a link, forces delete properly. However, when you add a force on a link, and weld it, the force is on the subset but not on the compound link. The force from the subset needs to be also added on the compound link as well but still fix the force to only the desired subset.

Also, a check needs to be done where when you add a force on a compound link and you delete the force, the force needs to be deleted.

AlexG1031 commented 1 year ago

I added part of this check onto #192 and #193. Part of this code is complete, but should still be pushed onto master branch