2998 Commits

Author SHA1 Message Date
Sibo Van Gool
c21127f4e3 [fixes #976] Added different display order for side view and back view 2021-07-13 20:47:22 +02:00
Sibo Van Gool
9ac2d2f844 [fixes #976] Sometimes can't select components when behind body tube 2021-07-13 20:47:21 +02:00
Billy Olsen
0dfd5d52c5
Merge pull request #978 from SiboVG/issue-977
[fixes #977] Fix Storm sky image going blank
2021-07-11 19:25:46 -07:00
Billy Olsen
53d7f74c69
Merge pull request #980 from SiboVG/trans-dutch
Added Dutch translation + some translation fixes
2021-07-11 19:24:35 -07:00
Billy Olsen
53e1454173
Merge pull request #967 from jlassahn/fix-954
More improvements for Bug #954
2021-07-11 19:19:48 -07:00
Billy Olsen
a9ad4208f9
Merge pull request #962 from SiboVG/issue-905
[fixes #905] Added ability to select a different color for the outside and inside of component
2021-07-11 19:07:15 -07:00
Sibo Van Gool
65158bc065 Added plot data tooltip 2021-07-09 03:58:57 +02:00
Sibo Van Gool
2f2a3a4272 Improved appearance plot 2021-07-09 03:57:27 +02:00
Sibo Van Gool
c5c3394848 Added Dutch translation + some translation fixes 2021-07-08 02:35:53 +02:00
SiboVG
78eb9bbcda
Merge branch 'unstable' into issue-905 2021-07-06 21:24:52 +02:00
Sibo Van Gool
744dbeb9c7 [fixes #905] use of InsideColorComponentHandler 2021-07-06 21:04:51 +02:00
Sibo Van Gool
dcacc40d88 [fixes #971] Fix default appearance unchecking 2021-07-04 20:08:55 -07:00
Sibo Van Gool
a3e5d949d0 [fixes #651] Fix shine wrong init value 2021-07-04 20:06:46 -07:00
Sibo Van Gool
1b5094553a Fix inside color tube 2021-07-04 20:01:44 -07:00
Raketenolli
58c721d1cb Allow rocket info to show stability margin as percentage of length
* create a new class PercentageOfLengthUnit
* add new unit to stability units
2021-07-04 20:00:02 -07:00
Sibo Van Gool
b3064f08b5 [fixes #977] Fix Storm sky image going blank 2021-07-04 00:00:37 +02:00
Sibo Van Gool
46d9841947 Fix saving inner appearance 2021-06-30 00:28:07 +02:00
Sibo Van Gool
840508a047 Fix #950 - sky image empty option 2021-06-28 21:19:59 +02:00
Sibo Van Gool
5fa3b2cd3a Add custom outside and inside appearance 2021-06-28 20:46:45 +02:00
Sibo Van Gool
fb5909afa2 Fix inside color tube 2021-06-28 19:11:38 +02:00
Sibo Van Gool
38b24f5c16 Fix select rail button side view 2021-06-27 10:17:44 +02:00
Miacid
9da027fe7e Fix crash in Photo Studio when all stages are disabled. 2021-06-26 21:47:16 -07:00
Miacid
54332d4355 Merge branch 'unstable' into fix-954 2021-06-26 21:10:44 -07:00
Miacid
51c1c78988 Route change events through OpenRocketDocument so Photo Studio can
receive notifications of changes to the rocket.
Dispose PhotoStudio windows on close, and add a close event to remove
event handlers, to avoid leaking resources.
2021-06-26 20:59:36 -07:00
Sibo Van Gool
c1281a6951 Add radial positioning shock cord 2021-06-26 15:58:10 -07:00
SiboVG
eddaae88ff
Fix mass components 3D view (#957)
Co-authored-by: Sibo Van Gool <sibo.van.gool@24sea.eu>
2021-06-26 15:38:31 -07:00
SiboVG
2e6a189305
Add real-time color change Photo Studio (#955)
Co-authored-by: Sibo Van Gool <sibo.van.gool@24sea.eu>
2021-06-26 15:32:12 -07:00
Sibo Van Gool
3f84149cb8 Updated unit tests to match new lug rotation 2021-06-26 15:23:50 -07:00
Sibo Van Gool
0fb216ae5a Default lug & rail rotation 180°, no refactor 2021-06-26 15:23:50 -07:00
Sibo Van Gool
3e199d779f Fix launch lug reference, no refactoring 2021-06-26 15:22:27 -07:00
Joe Pfeiffer
fb4bba7722
Merge pull request #951 from wolsen/bug/873
Make spinner options in photo keyboard editable
2021-06-25 10:21:34 -06:00
Joe Pfeiffer
dcc3c43bc3
Merge pull request #894 from wolsen/bug/878
Fix transparency display issue
2021-06-22 15:10:22 -06:00
Joe Pfeiffer
e011ca634a
Merge pull request #944 from SiboVG/issue-879
[fixes #879] Added real-time color change appearance
2021-06-17 19:14:03 -06:00
Billy Olsen
0ae99d65c5 Make spinner options in photo keyboard editable
Spinner options in photo frame does not have an editor, so doesn't
allow for keyboard edits. Add an EditableSpinner class which
automatically sets the editor and use that instead of JSpinner.

Note: this EditableSpinner can be used throughout OR, but not including
everywhere as it is a large change at this point and I'd rather wait for
the refactor until after release, so change is small.

Fixes #873

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-15 20:43:03 -07:00
Joe Pfeiffer
0dc3151c16
Merge pull request #942 from wolsen/bug/916
Restore 15.03 selection behavior for flight config
2021-06-14 16:44:29 -06:00
Sibo Van Gool
7caa5410c3 Added real-time color change appearance 2021-06-14 23:39:45 +02:00
Billy Olsen
e547c7c3e8 Restore 15.03 selection behavior for flight config
Restore the behavior from the 15.03 version of the flight configuration
panel. Selected flight configuration is synchronized with the rocket
panel where the design is being done and vice versa.

Fixes #916

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-13 20:45:31 -07:00
Joe Pfeiffer
28cd85c7ce
Merge pull request #936 from wolsen/bug/845
FlightConfigurableParameterSet Predictable Order
2021-06-12 15:22:24 -06:00
Billy Olsen
0b3e81bb2a Don't switch to use GLJPanel always
Relying primarily on the FBO option for capabilities passed to the
GLJPanel interferes with the part picking algorithm. Revert that
piece of the fix.

Fixes #937

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-06 19:59:56 -07:00
Billy Olsen
965311ff4e FlightConfigurableParameterSet Predictable Orders
Change to use a LinkedHashMap instead of a HashMap in the
FlightConfigurableParameterSet. This ensures that the ordering is
consistent with the way the user added the flight configurations.

This will also be true for when reading the flight configurations from
a file. Additionally, to preserve the ordering, do not sort the
FlightConfigurationIds in getIds().

Fixes #845

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 20:48:34 -07:00
Billy Olsen
ab86cb7f4e Fix transparency display issue
Use the provided alpha from the color when it is available when
rendering the model in the 3d finished view. The 3d unfinished view will
continue to override the alpha to show interior components.

Additionally, enable the GL2.GL_COLOR_MATERIAL for the rendering of
the component to display the right alpha settings.

Fixes #878

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 19:18:23 -07:00
Billy Olsen
5e3729bb58 Github actions on pull requests
Make sure to do github action runs on pull requests

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 19:15:36 -07:00
Billy Olsen
506ee24411 Migrate to github actions
Travis-ci.org is going away. Migrate to github actions instead of
migrating over to travis-ci.com.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 16:59:20 -07:00
Billy Olsen
9639f707ee Update the list of dependent libraries
Update the list of dependent libraries in the about dialog.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 16:56:13 -07:00
Billy Olsen
16527a2862 Update copyright year in LICENSE.txt
Update the copyright year in the license file.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 16:56:13 -07:00
Billy Olsen
5fef01a2e0 Update Copyright information and Contributors
Add a build.copyright property to build.properties to use in the about
dialog for the copyright year. Update splashscreen image to copyright
year 2021. Update contributor list and point to URL for all
contributors.

Fixes #814

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 16:56:13 -07:00
Billy Olsen
837014c7a0 Repaint Scrollpane when returning to 2D
Repaint the scrollpane on returning to 2D view from 3D view. This forces
the scrollbar to be repainted rather than show the remnants of the 3D
rendering.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 16:54:45 -07:00
Billy Olsen
7015d8617b Fix scaling on high dpi monitors
GLJPanel handles display scaling better than the GLCanvas does natively.
Change to use the GLJPanel always when rendering in 3D mode. FBO
(offscreen rendering) will be set on the GLJPanel via the
GLCapabilities.

Also, ensure when creating a Graphics2D object from a GLOverlay to set
the current transform to the default transform for the component. The
default transform of the swing components will take into account the
scaling of the screen that it is rendered on. By setting the transform
of the overlay, we can be sure that it gets the scaling information as
well.

Fixes #854

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-04 16:54:45 -07:00
Billy Olsen
1962cfac4e Fix FinSetTest.testTabLocation
Commit 936333a2 re-introduced the AxialMethod.ABSOLUTE as an offset
method but did not update the corresponding unit test. Add in the
expected offset value for AxialMethod.ABSOLUTE.

Fixes #931

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-06-02 19:52:35 -07:00
Joe Pfeiffer
de10d819bc
Merge pull request #920 from neilbalch/RockSim_Import_Dist_Fix
Fix #881, #907 issues
2021-05-24 16:41:19 -06:00