Commit dd277b3 changed the Mass Component label and removed the
line break, which causes the text to no longer wrap and increases
the size of all the buttons. Re-insert the line break to reduce
the component button size.
Fixes#896
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
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.
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>
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>
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>
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>
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>
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>
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>