1396 Commits

Author SHA1 Message Date
JoePfeiffer
2725c859a4 Improve display of max altitude in simulation run progress dialog
1) Since portions of a simulation may be run multiple times (notably in
calculating optimal coast time), update the max altitude whenever the rocket's
vertical velocity is positive rather than actually looking for a max.  The last run is the "real" one, so the correct apogee is recorded as max altitude

2) Don't have handleFlightEvent() set the simulation progress directly, as
this can end up skipping some updates from the postStep() listener.
2022-10-17 10:44:19 -06:00
JoePfeiffer
942b3adacf Get rid of redundant apogeeAltitude. Use maxAltitude[index] instead
(this actually solves the reported bug; apogeeAltitude was being set
to the first altitude after apogee which could in pathological conditions
already be 0).
2022-10-16 16:58:12 -06:00
JoePfeiffer
df00500077 Clarify comments and debug logging 2022-10-16 16:58:12 -06:00
Sibo Van Gool
3745584e1a
Merge pull request #1739 from SiboVG/issue-1715
[#1715] Add button in preferences for clearing cached preferences
2022-10-16 01:19:33 +02:00
Sibo Van Gool
fabebc900e
Merge pull request #1738 from SiboVG/issue-1729
Add motor designation to motor selection table
2022-10-16 01:18:41 +02:00
SiboVG
07de50b509 [#1167] Remove modality for thrust curve import error dialog 2022-10-14 15:43:00 +02:00
SiboVG
d06396ac2e Use common name if preferences not SwingPreferences 2022-10-13 22:12:16 +02:00
SiboVG
9d8f5a6b38 Restore table selection after motor column name change 2022-10-13 22:01:48 +02:00
SiboVG
c1145bf008 Rename clear preferences button 2022-10-13 21:56:58 +02:00
SiboVG
15c7f3ebc2 Include unit reset in reset preferences action 2022-10-13 15:28:06 +02:00
SiboVG
7557b67dbb [#1715] Add button in preferences for clearing cached preferences 2022-10-12 19:16:18 +02:00
SiboVG
52b582db69 Add motor designation to motor selection table 2022-10-12 17:29:38 +02:00
SiboVG
a1eea8ce39 I find this easier to read, sue me :) 2022-10-12 17:27:17 +02:00
SiboVG
360b1e77e2 [#1731] Catch out-of-range sim table click earlier on 2022-10-10 17:22:34 +02:00
Sibo Van Gool
176cab68db
Merge pull request #1711 from raynichc/fixes/SimulationPlot
Fixed flight event labels getting cut off
2022-10-09 17:38:46 +02:00
Joe Pfeiffer
d2e3ebfa07
Merge pull request #1716 from raynichc/fixes/ScalingNPE
Fixed NPE when scaling when no components are selected
2022-10-05 19:47:59 -06:00
Sibo Van Gool
2e96683509
Merge pull request #1705 from SiboVG/updated_updater
Updated software updater layout
2022-10-04 20:28:01 +02:00
Ray Clark
67bb0ebee7
Changed EMPTY_LIST to emptyList() 2022-10-04 20:14:43 +11:00
SiboVG
9edc8eaea0 Don't explicitly save smokeAlpha in photostudio .ork 2022-10-04 08:52:48 +02:00
Ray Clark
ad46bb9b6e Fixed NPE when scaling if no components are selected 2022-10-03 11:20:47 +11:00
Ray Clark
caff69e01f Scaled marker width with plot size 2022-10-03 00:43:54 +11:00
Ray Clark
07c2ce8743 Fixed flight event labels getting cut off 2022-10-03 00:30:00 +11:00
Sibo Van Gool
0b7d9fe0ef
Merge pull request #1706 from SiboVG/issue-1704
[#1704] Add change listener for stage selector in component analysis
2022-09-30 19:57:03 +02:00
SiboVG
1b50d8152c Increase component add button text size 2022-09-30 19:02:09 +02:00
SiboVG
685dffe960 [#1704] Add change listener for stage selector in component analysis 2022-09-30 17:09:21 +02:00
SiboVG
b7d809b568 Check for updates upon macOS app reopen 2022-09-30 05:07:42 +02:00
SiboVG
68dd2af95d Update software updater
Updated layout + changed "Cancel" button to "Remind me later" & added a "Skip this version" button
2022-09-30 03:36:40 +02:00
SiboVG
4d9fb7c253 Rename "Mac OS" to "macOS" 2022-09-29 13:14:03 +02:00
SiboVG
424b03879b Update dbcook's database 2022-09-29 01:08:39 +02:00
JoePfeiffer
d8e04a8127 Add dual deploy example 2022-09-27 16:08:06 -06:00
Sibo Van Gool
4a949394c9
Merge pull request #1684 from SiboVG/issue-1617
[#1617] Mark empty stages as inactive
2022-09-27 10:44:12 +02:00
Sibo Van Gool
db0e272a9d
Merge pull request #1659 from SiboVG/issue-1643
[#1643] Round motor filter panel diameter labels
2022-09-23 02:38:29 +02:00
SiboVG
582021e374 Don't paint ticks in length slider 2022-09-22 23:15:06 +02:00
SiboVG
5cafd87608 Use double-precision diameter labels 2022-09-21 01:57:48 +02:00
SiboVG
9d3c6d8364 Clean up limit by length & diameter checkbox model 2022-09-21 01:04:06 +02:00
SiboVG
baa841818c [#1681] Fix sim table spotlight when no simulations 2022-09-20 10:26:26 +02:00
SiboVG
26414da9f7 Disable stage selector if stage has no children + ttips 2022-09-19 14:32:46 +02:00
JoePfeiffer
3841a21dcb Mark all component files from 15.03 as Legacy, whether there is a better source or not 2022-09-16 11:38:59 -06:00
JoePfeiffer
5adddb7421 Move Dave's database to swing/resources-src/datafiles/components-dbcook
Move component files originally created within OR to swing/resources-src/datafiles/components-openrocket
2022-09-16 10:03:39 -06:00
JoePfeiffer
ff72965ce4 Move swing/resources/datafiles/presets to swing/resources/datafiles/components for consistency with our external terminology (internally the code still says "presets"; needs to change some day 2022-09-16 09:39:08 -06:00
SiboVG
9b2780d378
Merge pull request #1674 from SiboVG/issue-1662
[#1662] Fix scaling of pod axial offset + fix ThicknessRingComponent scaling down
2022-09-13 15:15:10 +02:00
SiboVG
6fe6b01aa5 Fix scale down issue on ThicknessRingComponent 2022-09-13 10:27:50 +02:00
SiboVG
9f4249cf75 [#1662] Fix podset axial offset scaling 2022-09-13 09:51:15 +02:00
JoePfeiffer
dc84ea6b5f permit negative drag coefficient overrides 2022-09-12 19:06:55 -06:00
JoePfeiffer
80bd6f4165 Correct thickness of BMS CR5060-W centering ring. 2022-09-12 10:04:33 -06:00
SiboVG
4e495c480e
Merge pull request #1664 from SiboVG/issue-1661
[#1661] Add scaling for rail buttons
2022-09-12 12:45:20 +02:00
SiboVG
eea2c03f8b [#1663] Fix duplicate scaling of multi-selection children 2022-09-11 14:50:36 +02:00
SiboVG
3b270e499b [#1661] Add scaling for rail buttons 2022-09-11 14:35:53 +02:00
SiboVG
e1128d0bf4
Merge pull request #1657 from SiboVG/issue-1653
[#1653] Scale RadiusRingComponent according to scale direction
2022-09-10 23:04:20 +02:00
SiboVG
1b201b34e5
Merge pull request #1656 from SiboVG/issue-1651
[#1651] Always do super component scales first
2022-09-10 23:04:05 +02:00