-
Notifications
You must be signed in to change notification settings - Fork 297
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
Added a context menu to allow setting final and each modifiers #11019
Conversation
@adeas31 it would be really nice to get this into 1.22.0. Do you think you can make it? Also, it would be really nice if we could prevent people from incorrectly setting scalar values for array modifiers. This could mean:
|
1.22 might not be possible but I will try. I started working on it but then got some other work to finish. I will continue on this asap. |
Maybe we should prioritize the really quick fixes. I opened a project for Release 1.22.0 with some collected issues, maybe you can have a look at them. We could branch off 1.22.0 maintenance next week, and then cherry pick the fixes for a couple more weeks or so. |
Fixes OpenModelica#5395, Fixes OpenModelica#5405, Fixes OpenModelica#5489, Fixes OpenModelica#5737, Fixes OpenModelica#7750 and Fixes OpenModelica#10226 Apply the modifiers with one call of `setElementModifierValue`. Added a new button for final and each context menu. Improved the handling of modifiers.
A lot of changes are done so I recommend not to add this to 1.22.0. We should test this stuff thoroughly.
Please make a separate tickets about it. |
Great! 😃 |
I agree, but we should have it in 1.22.1, see #5395. Then we can make a beta and test it thoroughly.
Will do |
…odelica#11019) Fixes OpenModelica#5395, Fixes OpenModelica#5405, Fixes OpenModelica#5489, Fixes OpenModelica#5737, Fixes OpenModelica#7750 and Fixes OpenModelica#10226 Apply the modifiers with one call of `setElementModifierValue`. Added a new button for final and each context menu. Improved the handling of modifiers.
Related Issues
#5395, #5405, #5489, #5737, #7750 and #10226
Purpose
Allow setting final and each modifiers.
Approach
Added a context menu next to parameter fields with final and each options.
Things todo,
setElementModifierValue
. Right now we callsetElementModifierValue
for each modifier.