JoePfeiffer
d2f364f086
Correctly identify when time is past end of thrustcurve so thrust is 0 in getAverageThrust
...
This has been lurking -- we're not actually supposed to be calling getAverageThrustThrust when we're past the end of the thrustcurve (there's a test for whether the motor is active before calling it), but another bug in the parallel staging code exposed it.
2022-03-04 17:52:44 -07:00
SiboVG
91b43317f3
Use component iterator instead of self-written childrenRecursive
2022-03-03 00:28:45 +01:00
SiboVG
06f220d6a9
[ #1208 ] Add StageSelector button for ParallelStage
2022-03-02 22:39:20 +01:00
JoePfeiffer
4bd50af673
Make motor database search more robust, especially when loading files:
...
Instead of requiring motor "designation" to match either the actual designation or the common name, require it to be a substring of the actual designation or that the common name be a substring of the actual designation. Many motors in stored rocket files have "designations" that resemble, but do not match, actual designations and common names.
Don't match on diameter or length when loading files. Motors with errors in the old database (eg M1850) would fail to be recognized.
2022-03-01 11:38:09 -07:00
SiboVG
60d8b12297
Update default 3D color to #BBBBBB
2022-02-28 23:14:00 +01:00
SiboVG
746c251c5d
[ fixes #1192 ] Use default 3D component color mid-grey + 30% shine
2022-02-28 22:07:20 +01:00
Joe Pfeiffer
a6ddbcd1c5
Merge pull request #1197 from SiboVG/issue-1078
...
[fixes #1078 ] Add opacity slider to appearance config
2022-02-28 10:48:41 -07:00
Joe Pfeiffer
804d9bad0d
Merge pull request #1180 from SiboVG/issue-1166
...
[fixes #1166 ] Use [{motors}] for flight config motors placeholder
2022-02-28 10:27:19 -07:00
JoePfeiffer
7917576404
Don't save backward-compatible radialdirection for ParallelStage
2022-02-28 10:09:36 -07:00
SiboVG
6ca76c4e43
[ fixes #1078 ] Add opacity slider to appearance config
2022-02-28 18:03:40 +01:00
SiboVG
d2acd0ed01
[ fixes #1164 ] Account for different RockSim FinSet location directions
2022-02-28 00:24:14 +01:00
SiboVG
d614c77fa7
Merge pull request #1183 from SiboVG/unstable
...
Change SoftwareUpdater to by default check unofficial releases
2022-02-27 17:03:42 +01:00
SiboVG
756c6b0521
Change SoftwareUpdater to by default check unofficial releases
2022-02-27 16:57:21 +01:00
SiboVG
85d9985f0b
Also copy configuration name upon config copy
2022-02-27 12:57:34 +01:00
SiboVG
d3ec4f66eb
[ fixes #1166 ] Use [{motors}] for flight config motors placeholder
2022-02-27 12:50:59 +01:00
thzero
05aae61932
Refactored from new Boolean and new Integer to Boolean.valueOf and Integer.valueOf due to deprecation warnings.
2022-02-26 09:47:57 -06:00
JoePfeiffer
4c7b3694b2
Don't need to save <radialdirection> for pod sets, since there's no backward compatibility issue with them
2022-02-22 09:50:46 -07:00
Joe Pfeiffer
a6ceb76a8e
Merge pull request #1138 from SiboVG/issue-358
...
[fixes #358 ] Implement multi-component selection
2022-02-21 10:28:41 -07:00
SiboVG
263b3957f2
Change Bulk Head to Bulkhead
2022-02-21 03:34:43 +01:00
SiboVG
91b93debec
[ fixes #358 ] Fix Booster deletion
2022-02-19 13:01:48 +01:00
SiboVG
e8a2fbf449
[ fixes #358 ] Move configListener's set-positions to front
...
Moving it to the front ensures that the method doesn't exit before the listeners' methods are set (because of a return in the main component) + causes the fireComponentChangeEvent to be in the end
2022-02-19 01:37:08 +01:00
SiboVG
117c0c76ca
[ fixes #358 ] Ignore component changes for configListeners
...
Otherwise, after every change, the fireComponentChanged would be called for every listener, as well as the current component. This was very inefficient...
2022-02-18 23:47:48 +01:00
SiboVG
9a77baf643
[ fixes #358 ] Fix multi-component recovery device deployment
2022-02-18 18:36:55 +01:00
SiboVG
79973e2cfb
[ fixes #358 ] Fix multi-component stage editing
2022-02-18 18:28:55 +01:00
SiboVG
33b19ecc04
[ fixes #358 ] Fix multi-component motor mount editing
2022-02-18 18:28:45 +01:00
SiboVG
ace8b2c24b
[ fixes #358 ] Implement multi-component tube fin cluster split
2022-02-17 17:38:46 +01:00
SiboVG
6a9ce5d34a
[ fixes #358 ] Fix some more issues...
2022-02-17 17:28:16 +01:00
SiboVG
161120855c
[ fixes #358 ] Fix some issues
2022-02-17 16:38:51 +01:00
SiboVG
8ce90d2bb5
[ fixes #358 ] Implement multi-component editing
2022-02-17 00:33:15 +01:00
Joe Pfeiffer
669e17ae83
Merge pull request #1110 from SiboVG/issue-1070
...
[fixes #1070 ] Add backward compatibility OR 15.03
2022-02-11 09:13:05 -07:00
SiboVG
042dc8ef5b
[ fixes #1070 ] Backward comp for fintab position
2022-02-10 00:47:32 +01:00
SiboVG
44ef37a612
[ fixes #1070 ] Ignore RailButton for radialdirection
2022-02-09 15:19:50 +01:00
SiboVG
5dd0912bd2
[ fixes #1070 ] Add backward compatibility OR 15.03
2022-02-09 03:10:37 +01:00
Joe Pfeiffer
6a3fa9820c
Merge pull request #1106 from SiboVG/issue-1055
...
[fixes #1055 ] Improve OR's simulation behavior
2022-02-08 18:56:46 -07:00
Sibo Van Gool
7a778bf58d
[ fixes #1055 ] Save 'only figures' with status 'NOT_SIMULATED'
...
Better suited than the previous 'OUTDATED'
2022-02-01 16:52:49 +01:00
Sibo Van Gool
e4d852e46f
[ fixes #1055 ] If no databranch in XML, data = null + status = NOT_SIMULATED
2022-02-01 15:29:42 +01:00
Joe Pfeiffer
d459ba4bd8
Merge pull request #1095 from SiboVG/issue-1090
...
[fixes #1090 ] Wrong FinSet tab position upon file opening
2022-01-31 10:41:59 -07:00
SiboVG
6e4faa8b6a
Merge pull request #1077 from JoePfeiffer/fix-713
...
Fix 713: Include legacy and new databases
2022-01-31 18:40:33 +01:00
Sibo Van Gool
cae5555139
[ fixes #1055 ] Fix simulation status after save only primary figures
...
Previously, if you saved a file with 'Simulated data to store: Only primary figures', the simulation status in the .ork file was still 'uptodate',but there was no sim data
2022-01-31 02:03:18 +01:00
Sibo Van Gool
cf0af1d59c
Fix small typo
2022-01-29 19:16:26 +01:00
Sibo Van Gool
36ff302586
[ fixes #1090 ] Update tabPosition after FinSetPoint loading
2022-01-29 19:10:38 +01:00
Sibo Van Gool
dc6c5d8c4a
[ fixes #1090 ] Make updateTabPosition public
...
We will need this in the next commit
2022-01-29 19:07:06 +01:00
Sibo Van Gool
f06ad1ec35
[ fixes #1090 ] Rename setTabPosition
...
It's more of an update-function instead of a set
2022-01-29 19:06:53 +01:00
Sibo Van Gool
9025171a28
Remove redundant imports
2022-01-29 19:04:42 +01:00
Sibo Van Gool
c112db32ed
[ fixes #1092 ] Draw root edge of fin tab
2022-01-29 14:24:21 +01:00
Joe Pfeiffer
4332732ade
Merge pull request #1019 from SiboVG/issue-136
...
[fixes #136 ] Use warning dialog upon decal source file error
2022-01-28 15:14:40 -07:00
Sibo Van Gool
5d5b0a13ce
[ fixes #825 ] Move AssetHandler to Swing module
...
This is needed because I need a Swing object later on to check a preference. Leaving it in the Core module would create a circular dependency...
2022-01-27 20:33:10 +01:00
Sibo Van Gool
59de3094b2
[ fixes #825 ] Rename AssetHandler methods
2022-01-27 20:18:25 +01:00
Sibo Van Gool
126a31c5b2
[ fixes #825 ] Implement AssetHandler
2022-01-27 16:37:28 +01:00
Sibo Van Gool
2e665455ef
[ fixes #825 ] Change dependency ArrayList UpdateInfoRetriever
...
Dunno why it picked the OpenRocket ArrayList as a dependency, but we'll just use the default
2022-01-27 16:36:46 +01:00