Commit graph

527 commits

Author SHA1 Message Date
Leonardo Zide
0784cbc857 Updated version number to 17.07. 2017-07-01 17:47:40 -07:00
Leonardo Zide
0305c4964b Removed ambient light option. 2017-07-01 10:37:53 -07:00
Leonardo Zide
4de9600a98 Disable parts list icon mode if FBOs are not supported. 2017-06-21 21:40:26 -07:00
Leonardo Zide
82a4afb7a9 OpenGL ES cleanup. 2017-04-26 22:24:54 -07:00
Leonardo Zide
219f9635db Disable lighting on machines that don't support shaders. 2017-04-26 21:52:51 -07:00
leozide
8da318037d Removed fog options. 2017-04-21 14:17:03 -07:00
leozide
a219c281f2 Qt4 fix. 2017-04-20 18:56:35 -07:00
Leonardo Zide
f2be79e4ed Changes to get older gcc versions working. 2017-04-15 15:54:17 -07:00
leozide
d0de0fbf65 Removed deprecated header. 2017-04-14 18:14:16 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Leonardo Zide
c34810c084 Static analysis fixes. 2017-04-02 17:15:09 -07:00
Leonardo Zide
6491d15bb3 Fixed AA setting not being applied to the first view. 2017-03-26 23:12:05 -07:00
Leonardo Zide
57b8732ed6 Context state cleanup. 2017-03-25 12:29:28 -07:00
Leonardo Zide
5ddd5b4e86 Dynamically resize rows and columns in the color list. Closes #21. 2017-03-18 18:31:04 -07:00
Johannes Sixt
ebb8f74bbe Draw a dark gray border around color picker icons.
This makes colors more visible that are very similar to the user interface
background color.
2017-03-06 19:53:50 +01:00
Johannes Sixt
f0a2271ab0 Draw a dark gray border around the color list's color icon in the tooltip.
Some combinations of colors and tooltip background are only barely visible.
This makes them more visible, while it does not distract in other cases.
2017-03-06 19:53:50 +01:00
Johannes Sixt
9944557f8d Draw a dark gray border around color icon in the properties panel.
This makes white, yellow and other colors more visible. In particular,
white entries do not look like absent against a white line background.
2017-03-05 00:35:13 +01:00
leozide
7e3f572b8e Added shaders for each material/lighting combination. 2017-02-28 15:20:34 -08:00
Leonardo Zide
3d1efcabec Added room in the meshes for normals. 2017-02-18 11:12:35 -08:00
Leonardo Zide
6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00
Leonardo Zide
5875284d5d Updated version number. 2017-02-11 17:51:57 -08:00
Leonardo Zide
6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -08:00
leozide
9a2f4c6678 Updated URL. 2017-02-08 17:58:49 -08:00
Leonardo Zide
acdc14a209 Use QString for categories. 2017-02-08 09:41:48 -08:00
leozide
70fd2c3ce0 Removed old string class. 2017-02-07 18:55:54 -08:00
Leonardo Zide
e22d127660 String cleanup. 2017-02-07 09:35:11 -08:00
Leonardo Zide
93ef02919a Prevent shortcuts from overriding key events in the parts widget. 2017-02-06 20:46:25 -08:00
leozide
87a8201d2c Fixed Qt4 errors. 2017-02-06 14:20:09 -08:00
Leonardo Zide
77f4cf8de4 Better default window layout. 2017-02-06 09:06:52 -08:00
Leonardo Zide
0dabe0d435 Added SetCurrentStep and MoveSelection to Timeline context menu. 2017-02-04 18:40:46 -08:00
leozide
045d05eb67 Added category with parts in the current model. 2017-01-26 19:02:42 -08:00
Leonardo Zide
c1c88ea045 Fixed OSX build. 2017-01-23 22:20:43 -08:00
Leonardo Zide
ca1505f770 Change the locale at startup only. 2017-01-23 20:46:52 -08:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
leozide
8ed7e0d6c8 Removed old parts tree. 2016-12-20 14:11:19 -08:00
Leonardo Zide
923e7513f1 Have the app return 0 when successfully saving an image from the command line. 2016-12-07 09:24:47 -08:00
Leonardo Zide
672eb5e35d Updated version number. 2016-12-01 21:54:38 -08:00
Leonardo Zide
dcfccd8eeb Rewrote how loose model files are loaded. 2016-11-25 17:12:19 -08:00
Leonardo
d8f14c1937 Removed code accessing library internals. 2016-11-16 14:53:41 -08:00
Leonardo
13c42645f1 Library access cleanup. 2016-11-15 12:12:47 -08:00
Leonardo Zide
de14231410 Only override regular character key events. 2016-11-05 19:14:57 -07:00
Leonardo Zide
866253dae7 Disabled accelerators while typing in the parts tree. 2016-10-29 16:47:30 -07:00
Leonardo Zide
1070ea664f Remember last folder used to open a project. 2016-10-15 13:00:26 -07:00
Leonardo
ed0e3a252f Fixed install icon. 2016-10-05 14:37:08 -07:00
Leonardo
dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
leo
2f0cf40af4 Enforce file extension in submodels. 2016-09-08 22:34:51 +00:00
leo
a6d3df04b0 Updated version. 2016-08-13 15:02:32 +00:00
leo
4a4c3ff02c Fixed compiler error with libc 2.23. 2016-08-10 22:29:59 +00:00
leo
6d483252c5 Clean up of some old dialog code. 2016-08-01 03:44:15 +00:00
leo
21504371dd Fixed Minifig Wizard crash when closing. 2016-06-15 01:14:43 +00:00
leo
9994e0f97f Omit group separators from localized numbers. 2016-06-14 00:18:24 +00:00
leo
b6d0495a55 Fixed setting the position of rotated objects using the properties pane. 2016-06-14 00:16:53 +00:00
leo
acfa6784a7 Fixed more instances of unlocalized decimal separators. 2016-06-13 23:57:31 +00:00
leo
4ca6006a6e Format property tree strings according to the system locale. 2016-06-13 01:46:50 +00:00
leo
df0e7cc221 Made shortcuts translatable. 2016-06-12 23:05:26 +00:00
leo
d8191b0758 Added option to control which models to export to HTML. 2016-05-30 22:41:03 +00:00
leo
56ac7ae55c Don't warn about empty mouse shortcuts. 2016-05-08 20:06:11 +00:00
leo
65b8880bf8 OSX fixes. 2016-05-08 02:16:52 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
e6c6ef9490 Prompt to replace mouse shortcuts. 2016-04-30 20:07:32 +00:00
leo
26f9859a8e Added mouse preferences tab. 2016-04-25 05:26:34 +00:00
leo
5b0bf780cc Configurable mouse shortcuts. 2016-04-23 00:17:33 +00:00
leo
2842cccf53 Use the centroid of the selected pieces when rotating pieces. 2016-03-13 20:07:28 +00:00
leo
9278a6fe1e Warning fixes. 2016-03-06 20:19:02 +00:00
leo
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
55e7cd4bab Warning fixes for VS 2015. 2016-02-16 23:11:52 +00:00
leo
565a012b6c Show piece properties that are the same when multiple pieces are selected. 2016-02-09 19:40:59 +00:00
leo
c1cdbc8d4a Show GLSL version on about dialog. 2016-02-01 22:57:51 +00:00
leo
68f227009d Fixed compiling with Qt4. 2016-01-28 18:48:57 +00:00
leo
6e146fc423 Show application name on the title bar in Qt5. 2016-01-19 02:40:18 +00:00
leo
d715c316a6 Allow changing multiple pieces at the same time using the properties widget. 2015-12-22 22:44:46 +00:00
leo
1f47b89d57 Added more options to context menu. 2015-12-04 20:32:10 +00:00
leo
41746f2b5b Updated version number. 2015-10-24 18:45:07 +00:00
leo
5cce0f2867 Add actual separators to the minifig wizard combos. 2015-10-22 23:49:07 +00:00
leo
520594fd12 Use QString for group names. 2015-10-21 15:03:45 +00:00
leo
1feafebb54 Keyboard shortcuts cleanup. 2015-09-27 07:02:57 +00:00
leo
5149ef3311 Fixed menu items not getting translated. 2015-09-25 06:03:30 +00:00
leo
ed70134eef Added more mime types. 2015-09-23 06:03:20 +00:00
leo
68f2590d00 Fixed compiling with Qt4. 2015-09-18 05:53:43 +00:00
leo
55f87378cd Mouse buttons 4 and 5 now work to navigate steps. 2015-09-06 19:52:17 +00:00
leo
b53debf017 Changed the library cache to use loose files. 2015-07-22 04:00:47 +00:00
leo
72a9b9fc45 Show total parts in the Properties Dialog. 2015-05-24 23:11:31 +00:00
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
20945362e5 Create a static buffer for the move overlay. 2015-04-27 00:47:31 +00:00
leo
42151522fc Added keyboard shortcuts to the Model List Dialog. 2015-04-12 06:44:38 +00:00
leo
c0167e2dd0 Fixed POV-Ray export file browser to accept new files. 2015-04-06 23:23:24 +00:00
leo
d0c669fa8a Updated version number. 2015-04-04 23:25:39 +00:00
leo
c4b15d05a9 Fixed timeline update crash. 2015-03-14 19:07:07 +00:00
leo
786bf4283b Rewrote how model names work. 2015-02-22 02:39:15 +00:00
leo
5e06ba85cc Bigger color popups. 2015-02-16 00:43:04 +00:00
leo
eae840d891 Set focus to the view after dropping a piece from the list. 2015-02-13 05:32:11 +00:00
leo
3be01c0748 Smoother mouse wheel on Qt5. 2015-02-10 22:34:04 +00:00
leo
cfa2b6ebdc Double click on the a model in the Model List Dialog will close the dialog. 2015-02-08 20:31:11 +00:00
leo
7b52f7ba40 Matched mouse wheel speed with previous versions. 2015-02-07 07:16:15 +00:00
leo
49a01189dc Fixed mouse wheel in Qt5. 2015-02-07 03:08:18 +00:00
leo
f5bb01f724 Show color code on tooltips. 2015-02-05 02:52:06 +00:00
leo
522f6fa6f2 Fixed waist accessory selection in the Minifig Wizard. 2015-02-05 00:49:36 +00:00
leo
4b82e75f5b Moved more file name variables to QString. 2015-02-02 06:00:42 +00:00
leo
e456b05ebf String cleanup. 2015-01-31 21:44:57 +00:00
leo
df7afb956a More Qt cleanup. 2015-01-31 20:38:53 +00:00
leo
bf2457594e Merged image and profile source files. 2015-01-31 20:19:03 +00:00
leo
21d622bd59 Merged main window classes. 2015-01-25 23:04:39 +00:00
leo
c63cb59fd6 Removed base window class. 2015-01-25 01:34:13 +00:00
leo
1f1c93c28b Create window widget after the library is loaded. 2015-01-23 23:18:32 +00:00
leo
f0209fa021 Added Wavefront export command line option. 2015-01-23 01:58:33 +00:00
leo
257672a64f Changed startup order to fix saving images from the command line. 2015-01-21 22:41:53 +00:00
leo
817ffce7ef Avoid using floating point notation in the properties pane. 2015-01-19 23:48:46 +00:00
leo
9b5d6a18df Fixed typo in About Dialog. 2015-01-19 01:09:53 +00:00
leo
b835a913e4 OSX fixes. 2015-01-18 07:20:41 +00:00
leo
07062693a8 Moved relative snap option to the toolbar. 2015-01-18 05:36:14 +00:00
leo
a9fb816839 Fixed wrong initial color list selection. 2015-01-17 02:02:30 +00:00
leo
51674eeec7 Fixed crash saving images. 2015-01-14 22:33:19 +00:00
leo
ac06b213f2 Update version number. 2015-01-12 05:02:50 +00:00
leo
12d0094806 Store piece transformations as matrices to allow scaling. 2015-01-10 20:30:37 +00:00
leo
1de2bffb73 Fixed valgrind errors. 2015-01-08 05:40:22 +00:00
leo
b6f8e8e651 Reuse same mesh for all placeholder pieces. 2015-01-08 04:50:38 +00:00
leo
9e9ee11f60 Fixed model list dialog not accepting changes. 2015-01-07 17:15:13 +00:00
leo
b1ed33ac3f Changed parts search to be just a simple substring search. 2015-01-06 15:17:29 +00:00
leo
6f3694fb89 Fixed uninitialized grid size in some cases. 2015-01-02 01:07:41 +00:00
leo
343ed3a1fd Moved Properties to Model menu. 2014-12-31 17:05:23 +00:00
leo
e383eed986 Fixed loading files from the command line. 2014-12-31 16:38:30 +00:00
leo
788f0bf9e4 Added support for drawing submodels. 2014-12-24 15:52:52 +00:00
leo
b3d8fafeb4 Fixed copy and paste. 2014-12-15 23:55:17 +00:00
leo
b20d52e2f9 Added model list dialog. 2014-12-12 23:42:09 +00:00
leo
5037897261 Added model menu. 2014-12-09 23:56:29 +00:00
leo
493ad442b2 Finished separating model from project. 2014-12-08 07:32:39 +00:00
leo
dbe7f759ed Move command handling to main window. 2014-12-04 01:47:28 +00:00
leo
d4ab2e9f90 More cleanup. 2014-11-29 02:55:58 +00:00
leo
deabf0524a Moved more functionality out of the project. 2014-11-25 00:51:34 +00:00
leo
a63743c73f Reorganized drawing functions. 2014-11-23 23:48:56 +00:00
leo
848224bf3b Reorganized group functions. 2014-11-10 00:06:11 +00:00
leo
c7ab540117 Small cleanup. 2014-10-24 00:41:19 +00:00
leo
55e7cad5e1 Rewrote HTML export. 2014-10-13 03:43:33 +00:00
leo
50a018f1a7 File load cleanup. 2014-10-12 17:34:18 +00:00
leo
ebd7c4be5d More descriptive error message when failing to save images. 2014-10-12 02:30:34 +00:00
leo
d6ceb6bfdc Simplified the Save Image Dialog. 2014-10-11 23:26:23 +00:00
leo
f9b0cbbc05 Moved export functions to model. 2014-10-10 23:53:08 +00:00
leo
a6a69b7661 Reuse piece bounding box function to avoid duplication. 2014-10-10 01:25:31 +00:00
leo
6684abf96a More project cleanup. 2014-10-07 23:02:52 +00:00
leo
2ca5665235 Moved mouse handling to the model. 2014-10-05 05:21:51 +00:00
leo
d1f1401ca3 Moved search out of the project. 2014-09-21 01:31:01 +00:00
leo
641a476726 Made menus translatable. 2014-09-17 22:17:42 +00:00
leo
564ef5b82c Translation fixes. 2014-09-16 01:40:56 +00:00
leo
34de3928b6 Added support for translations. 2014-09-15 23:41:46 +00:00
leo
7c7b461fb0 Removed old terrain editor. 2014-09-14 23:32:58 +00:00
leo
08631abe78 Avoid duplicate draw messages. 2014-09-14 22:41:22 +00:00
leo
d95d0ac68a Queue GL updates instead of drawing right away. 2014-09-14 00:52:27 +00:00
leo
4e44915e49 Removed binary file save. 2014-09-14 00:45:45 +00:00
leo
c0db665346 Added option to set an extra path to scan for the LDraw library. 2014-09-12 22:47:08 +00:00
leo
62cec48d93 Added qmake option to disable update checks. 2014-09-12 22:17:22 +00:00
leo
6b5db8aff9 Updated save file format. 2014-09-08 19:42:20 +00:00
leo
a9be648237 Use QString for model properties. 2014-09-06 01:34:03 +00:00
leo
07e6fce3ce Use LDraw units internally. 2014-08-30 19:48:36 +00:00
leo
73952870fd Moved transform type to main window. 2014-08-27 16:17:09 +00:00
leo
0a66fbeb82 Moved some drawing code out of the projet. 2014-08-23 22:56:59 +00:00
leo
22d3c57b9b Moved selection functions to model. 2014-08-17 20:44:12 +00:00
leo
b9d2229132 Removed old object class names. 2014-08-07 15:22:33 +00:00
leo
109ec00f5f Support more than 255 steps. 2014-07-06 06:04:09 +00:00
leo
c48adc095b Added shortcut for toggling relative snap. 2014-06-18 01:14:45 +00:00
leo
50ac7c48d4 Added add keys button to toolbar. 2014-05-29 00:13:32 +00:00
leo
7d2d338398 Fixed piece drag from list. 2014-05-26 22:58:08 +00:00
leo
e20907fbdd Added model class. 2014-05-25 01:45:19 +00:00
leo
eb4bc27c25 Moved addkeys to main window. 2014-05-20 22:15:42 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
add7710f01 Fixed cache not saving. 2014-05-07 23:14:15 +00:00
leo
6387ca917f Fixed buffer overflow with parts with very long descriptions. 2014-05-03 21:22:21 +00:00
leo
fe2e759bc0 Moved view list to main window. 2014-05-03 21:16:48 +00:00
leo
e0d4f03cbc Moved projection selection to camera. 2014-05-03 01:22:24 +00:00
leo
ae552cc80c Removed delay from toolbar menus. 2014-05-02 22:11:54 +00:00
leo
7b60905dcb Removed cm units option. 2014-05-02 21:54:07 +00:00
leo
d2d02a1f08 Fixed bug entering shortcuts with shift+number. 2014-05-01 22:57:07 +00:00
leo
49729dc52a Renamed object classes. 2014-05-01 18:42:11 +00:00
leo
d2d96489ac Fixed inconsistent behavior where sometimes parts that are not visible would remain selected and be modified. 2014-05-01 14:55:12 +00:00
leo
9c40092395 Fixed double click not doing anything. 2014-04-26 06:23:12 +00:00
leo
7e2180e132 Fixed invalid memory free. 2014-04-20 19:09:46 +00:00
leo
54beb09a97 New selection indicator. 2014-04-20 01:50:41 +00:00
leo
3138a5e0ee Added piece show earlier and later back to toolbar. 2014-04-18 18:15:31 +00:00
leo
f676086fa9 Free context when deleting a widget. 2014-04-15 00:13:41 +00:00
leo
c435eae17b Added graphics context class. 2014-04-14 03:20:16 +00:00
leo
d61cf958f6 Cleanup. 2014-04-12 00:29:53 +00:00
leo
c5f006cd2c Moved pieces from a linked list to an array. 2014-04-10 04:46:48 +00:00
leo
4fb236d4c4 Compile fix. 2014-04-10 03:07:41 +00:00
leo
f6b6ded59b Fixes to compile with qt4. 2014-04-08 01:04:32 +00:00
leo
22dd034383 Correct fix for retina mouse problem. 2014-04-06 21:44:58 +00:00
leo
7e40bae194 Updated version number. 2014-04-05 23:45:04 +00:00
leo
24ab5c2cc9 Fixed mouse coordinates in retina displays. 2014-03-01 18:59:32 +00:00
leo
75f093f96d Moved properties and preferences into their own classes. 2014-02-10 00:13:41 +00:00
leo
f022a2f413 Override shortcuts while focus is in the parts tree. 2014-01-31 20:06:15 +00:00
leo
213c53813c Removed animation code. 2014-01-30 03:13:34 +00:00
leo
ec04ed1f6f Added support for Qt5. 2014-01-26 06:56:36 +00:00
leo
f4e905e4f4 Updated version. 2014-01-25 23:43:22 +00:00
leo
d0ea4fe304 Fixed part search. 2013-12-19 12:01:29 +00:00
leo
a7ab2956c8 Added Look At command. 2013-12-17 22:23:41 +00:00
leo
418481f8c8 Orthographic projection option. 2013-12-17 02:43:16 +00:00
leo
742b1e2e8c Show focus piece group on the status bar. 2013-12-15 21:39:18 +00:00
leo
609c196738 Allow editing group names from the Edit Group Dialog. 2013-12-13 22:27:57 +00:00
leo
f66800d5d1 Fixed a crash bug. 2013-12-11 17:17:55 +00:00
leo
717a36d3b5 Use UTF8 for storing comments in files. 2013-12-08 22:44:01 +00:00
leo
ac34f68155 Fixed icon not showing up on gnome. 2013-12-05 18:43:10 +00:00
leo
4d45aaa7b7 Fixed incorrect update message. 2013-10-21 21:49:26 +00:00
leo
0414e69462 Fixed FreeBSD compiler error. 2013-10-21 21:43:03 +00:00
leo
da027efcc9 Fixed typo. 2013-09-13 19:51:52 +00:00
leo
8477b38020 Updated version number. 2013-09-02 18:29:21 +00:00
leo
971c4e1474 Only grow the parts tree when resizing. 2013-09-01 22:03:21 +00:00
leo
87e7ed190c Auto resize grid. 2013-09-01 21:45:19 +00:00
leo
8609014e64 Added option to draw studs on the base grid. 2013-08-31 21:58:47 +00:00
leo
7dfac75de5 Fixed find command getting disabled incorrectly. 2013-08-31 19:02:14 +00:00
leo
32f5c295ba Correctly restore maximized window state. 2013-08-31 17:54:22 +00:00
leo
44e85eb339 Removed copy keys command. 2013-08-31 00:07:04 +00:00
leo
8bb53b7aa5 Added option to ignore a new version when checking for updates. 2013-08-20 01:23:41 +00:00
leo
0801ccb13f Parts used list improvements. 2013-08-19 01:01:06 +00:00
leo
72f9bdeb9e Fixed povray browse button. 2013-08-17 21:54:07 +00:00
leo
3a626ab23c Added povray options to the preferences dialog. 2013-08-17 01:17:23 +00:00
leo
06ceadd800 Fixed calling povray to render files. 2013-08-16 23:17:25 +00:00
leo
32dcb94c49 Removed defines.h 2013-08-16 22:39:47 +00:00
leo
649d6b351c Renamed window classes. 2013-08-16 01:25:51 +00:00
leo
4d0eb9ce3e Renamed source files. 2013-08-16 01:20:51 +00:00
leo
979217d023 Array class cleanup. 2013-08-15 23:43:18 +00:00
leo
50027f8a07 Automatically update file extension in the image dialog. 2013-08-13 22:17:25 +00:00
leo
677bb573e2 Added crash handler. 2013-08-13 04:54:12 +00:00
leo
c7b923b119 Update registry file associations at startup. 2013-08-13 04:29:47 +00:00
leo
0ae4a1a7e4 Added different icons for each transform mode. 2013-08-12 22:20:40 +00:00
leo
3450d40fb6 Added new version check on startup. 2013-08-12 00:26:52 +00:00
leo
013e72b334 Fixed crash loading a project from the command line. 2013-08-11 20:35:04 +00:00
leo
3b83a16aaa Added mac document icon. 2013-08-11 01:30:34 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00