6262 Commits

Author SHA1 Message Date
SiboVG
7472ad7c8c Save reference to document in rocket 2024-08-08 12:05:41 +02:00
SiboVG
00acb8b68f Always start from a blank material when creating a new custom material 2024-08-07 23:57:01 +02:00
SiboVG
48e9536769 Goddamn, this index issue caused me so much trouble
Fixes updating combobox after adding custom material
2024-08-07 23:12:42 +02:00
SiboVG
16bd21bb90 Fix triggering of model after item change 2024-08-07 21:40:34 +02:00
SiboVG
b0feb33459 Construct itemGroup within SearchableAndCategorizableComboBox 2024-08-07 21:27:15 +02:00
SiboVG
354843deb9 Refactor SearchableAndCategorizableComboBox 2024-08-07 18:56:31 +02:00
SiboVG
0d5952cfa3 Refactor doc material loading to OpenRocketDocument 2024-08-07 15:41:04 +02:00
SiboVG
65116fcb58 Support material group loading from preset 2024-08-07 14:52:11 +02:00
SiboVG
e3ce3ac7dd Refactor SearchableAndCategorizableComboBox to use Group and Groupable interface 2024-08-07 14:19:46 +02:00
SiboVG
691f79fe3c Save material group in ork material 2024-08-07 12:58:37 +02:00
SiboVG
2e8accf097 Also add checkmark to selected group 2024-08-07 12:48:41 +02:00
SiboVG
693f2625ba Update materialmodel after combobox change 2024-08-07 12:45:28 +02:00
SiboVG
bb1d3dd3e8 Use == instead of equals for item check 2024-08-07 12:39:13 +02:00
SiboVG
f2fbcc69d3 Set material group non-null in the constructor 2024-08-07 12:17:34 +02:00
SiboVG
4e45a194e2 Fix material key in doc mat loader 2024-08-07 12:08:45 +02:00
SiboVG
829109ee2d Display user-defined materials with (ud) prefix 2024-08-07 12:01:08 +02:00
SiboVG
faeec8e854 Use enhanced loop 2024-08-07 11:51:02 +02:00
SiboVG
98da7340fe Add checkmark for the currently selected item 2024-08-07 11:28:15 +02:00
SiboVG
481d9a7355 Always store group in storable string 2024-08-07 11:17:28 +02:00
SiboVG
28ca2e98c6 Fix loading custom materials from old OR files 2024-08-07 11:12:22 +02:00
JoePfeiffer
194f1539ec reorder fields in DeploymentSelectionDialog to make it clearer that after the condition is met the delay is added 2024-08-05 15:51:47 -06:00
Joe Pfeiffer
9ef1139515
Merge pull request #2523 from JoePfeiffer/fix-spherachutes
Correct diameter of Spheachutes parachuts to match Cd and correct spelling of "drouge"
2024-08-02 10:53:10 -06:00
JoePfeiffer
b6fafb995c starting to plot warning events. Not done yet 2024-07-31 15:41:09 -06:00
JoePfeiffer
3b7e9bcec7 Correct diameter of Spheachutes parachuts to match Cd.
Correct spelling of "drouge"
2024-07-26 15:21:26 -06:00
JoePfeiffer
6c732a7c0d comment was wrong 2024-07-26 10:02:39 -06:00
JoePfeiffer
eb9106a6a4 Be more consistent about creating a new modID when changes take place 2024-07-26 09:26:50 -06:00
JoePfeiffer
0e437a8cb7 Split UniqueID functionality into new ModID class and java UUID 2024-07-26 06:46:32 -06:00
SiboVG
8dcb120cc5 Add option to select material group in material editor 2024-07-24 22:48:21 +02:00
SiboVG
5d45d075ce Save document materials in document preferences 2024-07-23 00:34:59 +02:00
JoePfeiffer
47e7e017bb Create new SimulationStatus.addWarning() and SimulationStatus.addWarnings() methods. addWarning() adds a warning to the WarningSet, and adds a SIM_WARN FlightEvent to the data branch. addWarnings() uses addWarning() to merge two WarningSets.
Replace instances of status.getWarnings().add() (and similar code) with status.addWarning()
2024-07-22 10:55:28 -06:00
JoePfeiffer
bbf38dd239 Create SIM_WARN FlightEvent to log warnings raised during simulation.
Translations of FlightEvent.Type.SIM_WARN to languages other than English were created by copying RocketInfo.Warning for each language in which it exists
2024-07-22 06:16:49 -06:00
SiboVG
500c75aeab Save document preferences in design file 2024-07-22 00:02:08 +02:00
SiboVG
144efb5610 Allow for configurable entry tag name 2024-07-21 23:58:54 +02:00
SiboVG
47af6fbb9f Refactor ConfigHandler to use EntryHandler 2024-07-21 23:54:36 +02:00
SiboVG
8bf63fff0c Refactor Preferences to ORPreferences 2024-07-21 23:16:09 +02:00
SiboVG
bb9e17d0b4 Refactor ORPreferences to ApplicationPreferences 2024-07-21 23:14:19 +02:00
SiboVG
9b5c865823 Refactor preferences with interface 2024-07-21 23:13:25 +02:00
SiboVG
c86c04bd42 Move ORPreferences to preferences package 2024-07-21 23:10:41 +02:00
SiboVG
464d42fb81 Rename Preferences to ORReferences
To not cause confusion with java.util.prefs
2024-07-21 22:00:48 +02:00
Sibo Van Gool
f9c34ebb46
Merge pull request #2516 from AlexHladin/feat/add-ukrainian-translation
feat: update Ukrainian translation
2024-07-21 14:34:50 +02:00
SiboVG
4411cb1b35 Use searchable and categorizable combobox for material panel 2024-07-21 11:26:08 +02:00
Oleksandr Hladin
14406708ce feat: update Ukrainian translation 2024-07-20 13:06:37 +03:00
JoePfeiffer
b1b1690773 little bit of cleanup -- use result of test for errors in each branch to determine whether to report a simulation error, instead of duplicating the code 2024-07-19 09:15:42 -06:00
Joe Pfeiffer
aa64eedad2
Merge pull request #2511 from AhanuDewhirst/issue-2485
[#2485] Hide components
2024-07-19 05:16:58 -06:00
Ahanu Dewhirst
c4f93b1a6e
Merge branch 'openrocket:unstable' into issue-2485 2024-07-19 13:02:48 +10:00
Ahanu Dewhirst
bee30d69e7 [#2485] Add code comments 2024-07-19 12:58:59 +10:00
Ahanu Dewhirst
8c95f6104d [#2485] Fix rocket visibility when show all is actioned 2024-07-19 12:47:19 +10:00
Ahanu Dewhirst
196d533b19 [#2485] Add component showing icon 2024-07-19 12:36:59 +10:00
Ahanu Dewhirst
a0584f3de9 [#2485] Fix toggle action enabled state 2024-07-19 12:36:21 +10:00
Ahanu Dewhirst
a9456be0fb [#2485] Add show all action 2024-07-19 12:31:42 +10:00