Daniel_M_Williams
ac1d6b698a
[refactor] streamlined null checks in SymmetricComponent.get{Prev|Next}SymmetricComponent
2020-08-14 18:40:10 -04:00
Daniel_M_Williams
bbf9c4d8a4
[refactor] adjusted variable names in SymmetricComponent.get{Prev|Next}SymmetricComponent to be more obvious
2020-08-14 18:40:10 -04:00
Daniel_M_Williams
db79511184
[fix][comment] fixed test explanatory comment to be accurate
2020-08-14 18:09:39 -04:00
Daniel Williams
168fa689c5
Merge pull request #737 from teyrana/fix/fffzoom
...
Fix/FreeformFinConfig - editing fin points
2020-08-14 16:48:27 -04:00
Daniel_M_Williams
748a871e57
[fix] limits a FreeformFinSet maximum size to 2.5m x 2.5m. This prevents a stack-overflow while editing
2020-08-14 16:38:39 -04:00
Daniel_M_Williams
b960d37a4a
[fix] dragging fin points will now drag the view pane (preventing a user from dragging a point out of view)
2020-08-14 16:37:45 -04:00
Daniel_M_Williams
08c5ecafdf
[fix] zooming in and out now zooms center-to-center
2020-08-09 15:18:54 -04:00
Daniel_M_Williams
ae83846e4e
[fix] restored autozoom behavior on figures -- particularly FinPointFigure
2020-08-09 11:07:35 -04:00
Daniel Williams
1eeef10a5f
Merge pull request #739 from teyrana/fix/699-select-stage
...
[fix] resolves issue #699 , fixes PR #738 , which only partially selected the first stage
2020-08-09 11:07:00 -04:00
Daniel_M_Williams
a1f17b8f7f
[fix] resolves issue #699 , fixes PR #738 , which only partially selected the first stage
2020-08-09 11:06:11 -04:00
Daniel Williams
73bd52fde9
Merge pull request #738 from teyrana/fix/699-select-sustainer
...
[fixes #699 ] pre-select first AxialStage on Rocket-Open
2020-08-08 18:27:05 -04:00
Daniel_M_Williams
4cd56c1616
[ fixes #699 ] preselect first AxialStage on Rocket-Open
2020-08-08 18:26:12 -04:00
Daniel Williams
b17d03138a
Merge pull request #731 from teyrana/fix/726-positioning
...
[Fixes #726 ] Fixes multiple issues when changing Fin-Offset-Methods
2020-08-08 11:25:26 -04:00
Daniel Williams
b62f9fc753
Merge pull request #734 from teyrana/fix/724/motor-dimensions
...
[fixes #733 ][fixes #724 ] Fix the motor-selection-dialog unit updating
2020-08-08 11:24:47 -04:00
Daniel Williams
1471a33a0d
Merge pull request #736 from JoePfeiffer/fix-725
...
Don't create new SimulationStatus on landing.
2020-08-08 11:24:38 -04:00
JoePfeiffer
23c39d5aef
Don't create new SimulationStatus on landing.
...
Makes consistent with BasicLandingStepper; more generally, if you don't need a more specialized derived from SimulationStatus (as is the case with RK4SimulationStepper), you don't need to create a new SimulationStatus when entering a new flight phase.
2020-08-06 14:19:33 -06:00
Daniel_M_Williams
0a0fcc96a9
[ fixes #724 ] Fixes unit-updating in rocket-motor-selection
2020-08-03 23:23:40 -04:00
Daniel_M_Williams
1a261a7c75
[ fixes #733 ] fixes rare bug -- rocket sometimes sends events to deleted ComponentConfigDialog instances
2020-08-02 17:40:09 -04:00
Daniel Williams
917503149c
Merge pull request #732 from teyrana/refactor/reduce180
...
Refactor out deprecated functions.
2020-08-02 16:49:54 -04:00
Daniel_M_Williams
aeae4b1e03
[refactor] ported reduce360 -> reduce2Pi. Because the units are in radians
2020-08-02 16:49:32 -04:00
Daniel_M_Williams
6efbe1e2ab
[refactor] ported reduce180 -> reducePi. Because the units are in radians
2020-08-02 16:49:32 -04:00
Daniel Williams
14bbcecc1e
Merge pull request #729 from teyrana/update/version
...
[Resolves #680 ][doc] Updates build string to: '20-08-alpha-14'
2020-08-02 16:39:08 -04:00
Daniel_M_Williams
6931f7f13f
[fix] Fixes multiple updating issues when changing Fin-Offset-Methods
2020-08-02 16:25:00 -04:00
Daniel_M_Williams
dc9dc3ed63
[fix] Changing the AxialMethod on a RocketComponent now mantains the same position, but changes the internal offset
2020-08-02 16:24:59 -04:00
Daniel Williams
908cd3e619
Merge pull request #728 from teyrana/fix/723-scaling
...
[Fixes #723 ] Fix scaling crashes in some circumstances
2020-08-02 16:12:25 -04:00
Daniel Williams
ed409204d0
Merge pull request #730 from teyrana/fix/727/config-spacing
...
[fixes #727 ][gui][cosmetic] Adjusted layout in RocketComponentConfig layout
2020-08-01 14:55:33 -04:00
Daniel_M_Williams
e5590d5415
[fix][gui][cosmetic] Adjusted layout in RocketComponentConfig layout to improve the legibility, and reduce dead space
2020-08-01 12:59:33 -04:00
Daniel_M_Williams
2437188afe
[doc] Updates build string to: '20-08-alpha-14'
2020-08-01 12:05:22 -04:00
Daniel_M_Williams
fa6cceb4ad
[fix][optimize] Disables events while scaling a rocket. This _greatly_ speeds the scaling
2020-08-01 11:58:05 -04:00
Daniel_M_Williams
4825c7a1ee
[fix][mass] Added a negative-mass check, which rarely happens during inconstitent component updates -- during scaling
2020-08-01 11:56:53 -04:00
Daniel_M_Williams
834f4763f5
[refactor][cleanup] condensed some code lines (mostly to silence a linter warning)
2020-08-01 11:56:06 -04:00
Daniel_M_Williams
0903ecfb05
[fix][log][trace] Fixed log output to actually match intended output
2020-08-01 11:52:15 -04:00
Daniel Williams
27df9c9a71
Merge pull request #717 from wolsen/fix/center-rocket-in-side-view
...
Center rocket in side-view 2d renderings
2020-08-01 10:27:58 -04:00
Billy Olsen
78a315409a
Check rocketBounds.isEmpty() rather than activeStages for length
...
When no components are added, a rocket is showing -INFINITY for the
length. This is because the special case for length 0 is checking for
active stages, instead check the rocketBounds.isEmpty() to see if any
bounds have been added.
Fixes #714
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-29 09:07:30 -07:00
Joe Pfeiffer
2e14aa8b6a
Merge pull request #721 from JoePfeiffer/fix-718
...
Assure rocket has left the ground before it is considered as having cleared launch rod
2020-07-29 10:05:19 -06:00
Daniel Williams
02834a4d0b
Merge pull request #716 from wolsen/fix/702
...
[Fix #702 ] Increase min count for IntegerModel for Pods/Boosters
2020-07-28 21:59:14 -04:00
JoePfeiffer
16d7ce7f1f
Fixes Issue #718
...
Reset rocket's relative position when its absolute position is reset.
Make sure rocket has lifted off before setting launch rod as cleared.
2020-07-27 11:59:25 -06:00
Billy Olsen
cf66aed22c
Center rocket in side-view 2d renderings
...
Center the rocket within the side-view 2d renderings. This is similar to
how the side-view is rendered in 15.03 version.
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-26 20:45:22 -07:00
Billy Olsen
9e947adbb4
Increase min count for IntegerModel for Pods/Boosters
...
Increase the min count for IntegerModel for Pods/Booster config dialog.
The value can be overridden manually by hand, so this just allows the
user to scroll to it with the buttons.
Fixes #702
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-26 20:01:10 -07:00
Daniel Williams
9a0ef5f8ed
Merge pull request #708 from wolsen/snap/adjust-interfaces
...
Adjustments to snap stuff
2020-07-26 19:31:34 -04:00
Billy Olsen
82fea89bf0
Adjustments to snap stuff
...
Drop gcc as a build-dependency as LP#1883392 was fixed and delivered.
Additionally, change personal-files interfaces to be more explicit which
should allow for the snap store assertions which will possibly allow the
auto-connecting of the interfaces upon install for the OpenRocket app.
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-26 10:06:10 -07:00
Daniel Williams
bbc22e19b7
Merge pull request #707 from teyrana/fix/696-zoom-jitter
...
[fixes #696 ] Fixes occassional zitter when auto-zooming at some sizes
2020-07-26 10:06:06 -04:00
Daniel_M_Williams
0c1029ac1d
[fix] RocketFigure always shows scrollbars -- and compensates for this size when zooming to fit.
2020-07-26 10:01:04 -04:00
Daniel_M_Williams
0f3f5fe944
[ fixes #696 ] Fixes occassional zitter when auto-zooming at some sizes
...
Ultimate cause is some very odd behavior from JViewPort.
This code is in effect, a workaround for that odd behavior. It IS therefore 2/3 ugly hack :(
Also, refined some of the zoom calculations to be more exact.
2020-07-25 23:16:05 -04:00
Daniel Williams
6b609809e0
Merge pull request #621 from wolsen/fix-tube-fin-display
...
Fix TubeFinSet 2D rendering
2020-07-25 23:15:22 -04:00
Billy Olsen
908e6359ff
Add BoxBounded interface to TubeFinSet
...
TubeFinSets cause rocket size within the panel to be a bit off. Add
the BoxBounded interface to provide a tight BoundingBox.
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-25 18:28:54 -07:00
Billy Olsen
ec40b20ae0
Fix 3D rendering of TubeFinSet.
...
Changes to the TubeFinSet instanceable caused extra rotations of the
TubeFinSet around body tubes and podsets. Remove the extra rotation from
the 3D renderer.
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-25 18:28:54 -07:00
Daniel_M_Williams
ac7d606423
[fix] fixes rotation issues in TubeFinSet 2d rendering.
2020-07-25 18:28:54 -07:00
Billy Olsen
74ec0be340
Make TubeFinSet RingInstanceable
...
Make the TubeFinSet RingInstanceable. This change updates the rendering
of both the 2D and 3D views to handle the RingInstanceable shapes. This
also updates the DocumentConfig to parse the new XML formats properly.
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-25 18:26:07 -07:00
Billy Olsen
1bb64d45d3
Remove System.out.println in ComponentRenderer
...
Removes an unnecessary System.out.println to avoid extra printouts on
the console.
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-07-25 18:26:07 -07:00