-
Notifications
You must be signed in to change notification settings - Fork 32
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
External Loads Applies Force Checkbox: Unchecking the box from the user interface is not saved #1153
Comments
This boils down to the following: ExternalForce uses two different/conflicting ways to indicate whether it applies_force. a custom method that checks for force_identifier and a base class method that checks for the property applies_force. Switching to using the property always will make the setting persistent and the GUI works fine but may have other side effects downstream if the API uses the custom method so I lean to not make this change but I'm open to suggestions @jimmyDunne @chrisdembia |
Could we remove this checkbox from the GUI? If we did that, what would be the pathway for users to change the setting? |
We can remove it, users will have to remove all the labels in force columns by selecting blank. which is inconvenient Another option is to keep it and make un-selection wipes out the columns for the user. It remains the case that the API users have 2 methods appliesForce and get_applies_force() that look identical but have different semantics/meaning. |
We will remove the checkboxes. We should make sure to note in the documentation and changelog that users should zero out the columns to prevent the forces from being applied. |
One complication is that since the radio button options (Body Force, Point Force) are not guarded by a checkbox, now users can't specify torque only, so I implemented the most surgical solution that blanks the Force columns if you uncheck the box. |
From @carmichaelong during beta testing (and I confirmed) ... |
|
I forgot a piece of info that's like part 2b) in above: when I close the SO dialog and open it again and try to use the file, it still says it can't be opened. |
Steps to reproduce
Load gait2354 model, launch ID tool, and edit external loads by unchecking the "applies force" box
Click Save and then edit again -> applies force box is still checked
Click Save and then save the external loads file -> applies force box is still not checked when inspecting later.
Environment and GUI version
OpenSim 4.0, Mac
Also reported by user in #1146
The text was updated successfully, but these errors were encountered: