497 Commits

Author SHA1 Message Date
kruland2607
acba62ce59 Rework Decal byte handling code and DecalRegistry. Added interface
DecalImage which is used by the Decal object to retrieve the bytes for
the image.  The DecalRegistry now operates as a factory and registry for
DecalImage objects.  The decal handling code in the saver is now greatly
simplified because the logical decal names are updated when constructed
by the DecalRegistry.
2013-01-06 16:58:18 -06:00
Sampo Niskanen
4560b8fd26 Remove FIXME 2013-01-06 21:37:11 +02:00
Sampo Niskanen
ef7c384f58 Merge branch 'master' into kruland-integration
Conflicts:
	core/build.xml
	core/src/net/sf/openrocket/file/openrocket/importt/OpenRocketLoader.java
	core/src/net/sf/openrocket/gui/figure3d/RocketFigure3d.java
	core/src/net/sf/openrocket/gui/main/BasicFrame.java
	core/src/net/sf/openrocket/gui/util/SaveFileWorker.java
	core/src/net/sf/openrocket/rocketcomponent/RocketComponent.java
	core/src/net/sf/openrocket/simulation/BasicEventSimulationEngine.java
2013-01-06 19:18:46 +02:00
Sampo Niskanen
e4cda1c751 Clamp shine parameter in range of 0..1 2013-01-06 18:10:17 +02:00
plaa
31f620d1bd Merge pull request #34 from bkuker/kruland-integration-unselect
Unselect component when figure is clicked outside the rocket
2013-01-06 08:00:04 -08:00
bkuker
26e38f80dc Add percent / permille unit selector to shine 2013-01-06 10:37:42 -05:00
bkuker
7bda0bde12 Display shine on 0-100 scale 2013-01-06 10:32:56 -05:00
bkuker
3fe7370e08 Set null selection path when nothing is clicked.
Fix a bug that wasn't updating the 3d selection when unselecting
2013-01-06 10:26:36 -05:00
bkuker
62cfd2730e Trigger componentClicked with an empty list if no component is picked by
a clock on the 3d model
2013-01-06 10:23:53 -05:00
bkuker
c7ffc442a5 Change "Shine" to a double in [0,1]
Add shine to OR import & export
2013-01-06 09:58:08 -05:00
Sampo Niskanen
011bcd27e2 Refactor convertStringToBytes method 2013-01-06 16:12:12 +02:00
plaa
e2e509210c Merge pull request #25 from rodinia814/watcher
Directory/File Watcher
2013-01-04 14:52:03 -08:00
bkuker
a8e39af85d Use platform default shortcut key in menus 2013-01-03 19:31:13 -05:00
bkuker
cbb78cf095 Simplified appearance. Is this really what we want? 2013-01-03 09:19:58 -05:00
kruland2607
98db1885c2 UI improvements for flight configurations. Ellipsize the ignition
delay.  Change to using row selection instead of cell selection.  Change
the copy configuration to select the new configuration and copy the
name.
2013-01-02 10:42:51 -06:00
Doug Pedrick
45b337b9f4 Printing fixes; added Save As file to MRU 2013-01-01 14:55:15 -06:00
kruland2607
177d40104e Add Edit Decal dialog available from Appearance tab. Added preference
to control which editor is opened.
2012-12-28 23:08:31 -06:00
bkuker
ff7e5d5d04 Move JOGL debug setup to GuiceStartup.
Always capture System.err to log.
Also write captured System.err to STDERR if the log is NOT being written
to either STDERR or STDOUT (So it appears on the console one way or
another).
2012-12-27 10:17:48 -05:00
bkuker
77374d3992 Try to quiet JOGL down a little by classifying indented lines as
verbose, not debug.
2012-12-26 14:01:30 -05:00
bkuker
003e6c35f1 if openrocket.debug then redirect stderr to log.debug(). 2012-12-26 13:56:24 -05:00
bkuker
bc2e759d86 Remove some overactive logging 2012-12-26 13:52:52 -05:00
bkuker
56c6d1b714 Include JOGL implementation version in bug report 2012-12-26 09:42:13 -05:00
plaa
9bb4e12c77 Merge pull request #26 from bkuker/master
Remove "Attempted firing event..." log statement
2012-12-24 09:55:22 -08:00
bkuker
5a8fa640a2 Remove log statement about ignored event if component not part of rocket 2012-12-24 10:58:34 -05:00
bkuker
56be31cfd2 Use anisotrophic texture filtering if available. 2012-12-24 10:24:45 -05:00
kruland2607
e0b5386513 Make the thrustcurve series labels unique which is required in
jfreechart 1.0.14.
2012-12-22 14:05:02 -06:00
kruland2607
bd1e3ce83c Minor fixups and method renaming. 2012-12-21 22:16:13 -06:00
kruland2607
618dd63b5c Moved Rocksim saving condition to the top of save, since there is no
need to do all the decal name manipulation if we don't save decals in
Rocksim files.
2012-12-21 10:19:52 -06:00
kruland2607
079ef2ba13 Removed comments about possible caching, it really isn't necessary. 2012-12-21 10:05:03 -06:00
plaa
0ef470b02e Merge pull request #24 from rdgraham/openrocket-rdg
Openrocket rdg
2012-12-19 21:16:34 -08:00
Doug Pedrick
ffca820860 Initial file watcher code. 2012-12-19 20:22:14 -06:00
bkuker
31c351c9d5 Remove concept of material default for component 2012-12-17 16:19:03 -05:00
bkuker
f4a85993e6 Disable color choice when you have a texture selected. 2012-12-17 16:19:00 -05:00
bkuker
787ef8e347 Clean out some comments 2012-12-17 16:18:57 -05:00
bkuker
d966973f7d Rename texture unit and use it for offset too 2012-12-17 16:18:54 -05:00
bkuker
97b2c4002c Smaller sliders 2012-12-17 16:18:52 -05:00
bkuker
86d07ca8b8 I10n for color label 2012-12-17 16:18:49 -05:00
soupwizard
f667bb4bf5 Added config file needed for travis-ci continuous integration hosting support. Fixed places in build.xml that had hardcoded path references to use relative references. Undid fix to build warning in MotorCompare.java, since the fix didn't work with java 1.7. 2012-12-16 23:26:04 -08:00
richard
df9ef0b984 Removed custom expression debug message 2012-12-16 23:07:44 -08:00
richard
661e391654 Merge branch 'master' of https://github.com/plaa/openrocket.git 2012-12-16 23:04:01 -08:00
richard
a7e73f6485 Fix bug with custom expressions where old sub expressions remained in an
expression after it was changed.

Fix bug to allow flight variables to be used inside index expressions.
2012-12-16 22:58:02 -08:00
kruland2607
e516f99a8f Removed the "include decals" storage option - they will always be
included when saving as ork file.  Fixed saving rocksim files - they are
just plain files and have no references to decals.
2012-12-16 21:25:23 -06:00
kruland2607
7db51b9b65 Always save using .zip container format. Removed the "use compression"
option from the StorageOptionChooser.
2012-12-16 13:45:49 -06:00
soupwizard
11c247135e fixed ~150 build warnings 2012-12-16 00:12:44 -08:00
bkuker
efb05a554c Add a slider model to the IntegerModel, add a spinner to shine parameter 2012-12-14 09:36:43 -05:00
bkuker
591b05d867 Set up ligiting for figure 2012-12-14 09:36:40 -05:00
bkuker
aac5fb9451 Fix bug where selection outline stayed visible after a component is
deleted
2012-12-14 09:36:37 -05:00
bkuker
ee95d6998a Create a simpler appearance builder for a simplified UI. 2012-12-14 09:36:34 -05:00
bkuker
5a8833738c Allow batching several changes before firing a changeEvent 2012-12-14 09:36:32 -05:00
bkuker
e97ae2f4b0 If an absolute file is missing try resolving it in the directory the
file was loaded from
2012-12-14 09:35:53 -05:00