1608 Commits

Author SHA1 Message Date
thzero
3ed19060bd
Merge branch 'openrocket:unstable' into scripting 2022-08-02 09:22:08 -05:00
JoePfeiffer
2ad7cd1c95 When sitting on the ground, advance simulation time to next event time 2022-07-31 19:46:50 -06:00
Joe Pfeiffer
c0ba04edac
Merge pull request #1540 from SiboVG/railbutton-database
Incorporate rail button database items
2022-07-31 15:10:13 -06:00
Joe Pfeiffer
e313546a65
Merge pull request #1538 from SiboVG/issue-1537
[#1537] Add additional configuration parameters for rail buttons
2022-07-31 09:44:30 -06:00
SiboVG
39d56e6211 Nevermind, this is in fact necessary... 2022-07-27 22:59:26 +02:00
SiboVG
2be82ff36f Eureka! Use concurrent-safe collections 2022-07-27 22:50:28 +02:00
SiboVG
1123a5d4ea Ignore null stages 2022-07-27 22:12:10 +02:00
SiboVG
ce0eeda72f Use fireChangeEvent for toggling stages
This causes toggling stages to have an undo-action.
2022-07-26 13:42:06 +02:00
Jon Jagt
2badfe850d Change Diameter Filters to use Preferences
Add preferences for "match diameter" filters in the Component Preset Chooser to Preferences; change filter pre-checks to use those preferences.
2022-07-25 10:51:57 -05:00
SiboVG
f1a98bc776 Remove unneeded config update
Selected config is present in configset
2022-07-23 23:29:48 +02:00
SiboVG
cfb51d350a Remove updateconfigurations
Not needed, as the about iterator already calls 'update' in Rocket (iterator returns the rocket itself)
2022-07-23 21:50:43 +02:00
thzero
e35b7bda2d
Merge branch 'openrocket:unstable' into scripting 2022-07-20 08:28:17 -05:00
SiboVG
297123a7f2 Redo getActiveComponents 2022-07-20 00:17:22 +02:00
SiboVG
d2b13c6714 Change component change event for setCantAngle 2022-07-19 23:10:59 +02:00
SiboVG
57bc867789
Merge pull request #1500 from SiboVG/issue-1487
[#1487] Fix configuration referencing after loadFrom rocket
2022-07-19 22:19:00 +02:00
SiboVG
e1e3f89041 Don't include finish 2022-07-19 19:29:58 +02:00
SiboVG
57ee3bb177 Clear rail button presets after change 2022-07-19 13:27:09 +02:00
SiboVG
6b9e327508 Merge branch 'issue-1537' into railbutton-database
# Conflicts:
#	core/src/net/sf/openrocket/rocketcomponent/RailButton.java
2022-07-19 13:20:24 +02:00
SiboVG
2c401c47fc Implement rail button presets 2022-07-19 13:14:44 +02:00
SiboVG
7626e0801b Add import/save for new rail button parameters 2022-07-19 00:52:46 +02:00
SiboVG
1bf4486a63 [#1537] Add extra configuration parameters for rail button 2022-07-19 00:18:34 +02:00
SiboVG
ab9ace735e Remove redundant imports 2022-07-18 23:52:33 +02:00
SiboVG
2c67b80940
Merge pull request #1528 from SiboVG/issue-1524
[#1524] Add sliders to PhotoStudio
2022-07-18 16:35:43 +02:00
SiboVG
d0be2e5e07 Add preference for marker visibility 2022-07-18 00:28:05 +02:00
SiboVG
959bbfaac3 [#1146] Add 2D visualization for pod sets 2022-07-16 02:40:12 +02:00
SiboVG
74d21bfa3c [#1524] Add sliders to PhotoStudio 2022-07-12 13:00:09 +02:00
Joe Pfeiffer
173b332602
Merge pull request #1478 from SiboVG/issue-1477
[#1477 & #1460] Don't include inactive stages in calculations
2022-07-06 15:34:09 -06:00
thzero
78df43569a refactor to remove deprecation warning for newInstance 2022-07-04 17:23:03 -05:00
thzero
08b76e0b7e
XMLReaderFactory.createXMLReader Deprecation (#1493)
* remove the resources\datafiles\presets folder as its is being built by the copy-orc-files build script

* Refactored from new Boolean and new Integer to Boolean.valueOf and Integer.valueOf due to deprecation warnings.   Value of is supported in Java 8 (https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)

* Removed non-atomic updates around deprecation

* updates

* sync

* resolved deprecated xmlreader
2022-07-04 23:36:57 +02:00
SiboVG
2814827bcc [#1509] Make InnerTube InsideColorComponent 2022-07-04 12:10:29 +02:00
thzero
26019d48d3 refactor to use non-deprecated component iterator 2022-07-03 08:30:51 -05:00
thzero
a49117f909 added links to documentation 2022-07-02 14:18:26 -05:00
thzero
1b1eecaa4b refactor the graaljs integration to allow Java code to be called; updated the simulation extension and scripting to due to a change in the FlightConfiguration 2022-07-02 13:55:09 -05:00
thzero
aceaa328fc Resolving issue #1270, unexpected exception with simulation scripting 2022-07-01 15:36:52 -05:00
SiboVG
5dee382961 [#1440] Add all context drags to component drag 2022-06-30 14:45:53 +02:00
SiboVG
00e77dd37b Update selectedConfiguration of Rocket after loadFromRocket 2022-06-28 00:46:43 +02:00
SiboVG
33b0f77c80 Fix minor issue 2022-06-26 01:13:51 +02:00
SiboVG
6b23576c34 Fix unit tests
Because of the new behavior 'disable sub-stages when parent stage is disabled', some unit tests needed to be rewritten
2022-06-26 00:00:44 +02:00
SiboVG
9191d9df51 Remove sub-stage from removed component
Fixes a bug where if you delete the parent component of a booster set, it would throw a NullPointerException in BarrowmanCalculator.java:861
2022-06-25 16:36:29 +02:00
SiboVG
4d1e6165a8 Disable stage when parent stage is inactive 2022-06-25 15:58:41 +02:00
SiboVG
d8a1de2652 Include non-active booster condition 2022-06-25 01:03:09 +02:00
SiboVG
027ed2eaa6 [#1460] Exclude inactive stages in tbe simulation calculations 2022-06-25 00:55:31 +02:00
SiboVG
77bad60155 Don't include inactive stages in Cp calculations 2022-06-24 05:37:30 +02:00
SiboVG
4a79581244 [#1477] Don't include inactive stages in calculateForceAnalysis 2022-06-24 02:13:01 +02:00
SiboVG
00fcc34509 [#1454] Fix stackoverflow error
Make sure the InsideColorComponentHandler is cloned when a RocketComponent is cloned + don't clone the configListeners
2022-06-17 10:52:23 +02:00
SiboVG
6590a76ff4 Fix opacity change not undo-ing properly 2022-06-16 00:25:48 +02:00
SiboVG
4b614ff11a Fix appearance multi-comp select 2022-06-15 17:50:46 +02:00
SiboVG
595143f980 Fix merge conflict 2022-06-15 14:30:38 +02:00
SiboVG
ddbcf597c2 Extend multi-select components to different-typed components 2022-06-15 12:48:23 +02:00
SiboVG
248495bc87
Merge pull request #1438 from SiboVG/rewrite-doubleToString
Improve double to string rounding code
2022-06-14 21:08:49 +02:00