844 Commits

Author SHA1 Message Date
Sibo Van Gool
5427edb3aa [fixes #816] Fix select rail button side view 2021-07-17 14:15:11 +02:00
Sibo Van Gool
97e2a3fa2a Improved plot tooltip information 2021-07-17 12:57:06 +02:00
Sibo Van Gool
49a5d9200a [fixes #948] Added black foreground for tabbed panes 2021-07-15 20:30:02 +02:00
Billy Olsen
5977975756
Merge pull request #963 from SiboVG/issue-950
[fixes #950] Photo Studio sky image empty option
2021-07-13 20:25:06 -07:00
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
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
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
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
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
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
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
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
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
Joe Pfeiffer
8519e831cf
Merge pull request #893 from wolsen/fix-bug-reporter
Update Bug report dialog
2021-05-20 19:49:48 -06:00
JoePfeiffer
df38b95ea7 fix typo that called generateSeries() with thrust curve index instead of plot index.
Also added comment explaining necessity of really awkward coding
2021-03-10 09:28:22 -07:00
JoePfeiffer
3e3b854ce9 Invalidate MotorInformationPanel when updating (fixes #885)
Calls invalidate() as the last action inside MotorInformationPanel.updateData(), forcing a redraw of the panel.  This makes sure the panel is large enough to display all of its contents

Also, clean up display of the compatible cases a little bit by adding a space between cases, and wrapping in <html></html> tags to allow line breaks.
2021-03-09 19:37:56 -07:00
Billy Olsen
f71ae2bb40 Resize space.jpg for display
Resize space.jpg to be 1024x1024 to resolve rendering issues on MacOS.

Fixes #861

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-02-23 13:19:35 -07:00
Billy Olsen
741db61320 Update Bug report dialog
Updates the Bug report dialog to send users to either raise issues
via the github issues URL for OpenRocket or to send an email to the
forum.

This removes code to auto-submit bugs from the bug report dialog. The
service does not appear to be working and github issues cannot be
anonymous which complicates auto-submission. Instead, just direct users
to the right place.

Fix #860

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-02-20 12:09:17 -07:00
Billy Olsen
cde986136e Add extra spacing for stability information text
The GlyphVector.getVisualBounds() does not include leading or trailing
spaces. Account for this when drawing stability information by
increasing the unitwidth by the length of one space.

Additionally, the code is inefficient in that it creates a new Font
object each and every time a new text string is created for graphical
display. This is unnecessary and adds overhead to the VM memory
requirements.

Fixes #880

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-02-01 20:27:43 -07:00
Billy Olsen
f2c0e6bbd1 Force a .rkt extension rather than .ork on export
Exporting the rocket to a rocksim format should use the extension .rkt
rather than .ork. However, refactoring the code between save as and
export in commit 4924773 in correctly used the .ork extension in the
exportAsAction.

Fixes #872

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-01-03 19:40:55 -07:00
Billy Olsen
3499146a81 Set the glViewport size on reshape
Explicitly set the glViewport size on reshape in order to ensure it is
rendered at the full scale of the viewport. Not doing so causes the
display to render very small.

Fixes #790

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-12-21 20:32:45 -07:00