Commit graph

484 commits

Author SHA1 Message Date
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
46f58a4aaa Added keyboard shortcut filter. Fixes #338. 2019-05-11 16:46:37 -07:00
Leonardo Zide
2f102c2274 Array cleanup. 2019-03-28 17:59:58 -07:00
Leonardo Zide
acdc65584e Don't try to save render log files if the project hasn't been saved. 2019-03-19 15:22:47 -07:00
Trevor SANDY
56fbb2ce18 Update to improved render dialog (#335) 2019-03-19 15:08:03 -07:00
Leonardo Zide
fb0bcc48ec Also print continuous build on the command line. 2019-03-17 12:29:02 -07:00
Leonardo Zide
c68ce5fff8 Use short hash for continuous version. 2019-03-17 12:21:33 -07:00
Leonardo Zide
7c267c91d3 Show continuous build in the About Dialog. 2019-03-17 12:10:08 -07:00
Leonardo Zide
8497f07dea Load Qt translation files from the app folder. 2019-03-16 16:18:10 -07:00
Thomas Cujé
8a89cc4920 Make colors table fully auto resizing 2019-03-13 12:11:46 -07:00
Leonardo Zide
ee050177df Fixed double click to activate model from the Model List Dialog. 2019-03-12 13:10:33 -07:00
Leonardo Zide
9b7b17f45d Added button to select the active model on the Model List Dialog. 2019-03-12 13:08:43 -07:00
Leonardo Zide
0867ba48df Added line between Qt and OpenGL versions. 2019-03-12 12:44:31 -07:00
Thomas Cujé
d83c06100d Do not set active model from model list dialog
It's confusing and non-intuitive that saving the changes made to submodels opens the last
selected one. Furthermore we have the menu entries to open submodels.
2019-03-12 12:23:08 -07:00
Thomas Cujé
acbe0846d4 Add German comment translation to leocad.desktop
ari #320
2019-03-12 12:16:50 -07:00
Thomas Cujé
0bc3728620 Add Qt version and compile version to about dialog 2019-03-12 12:16:14 -07:00
Leonardo Zide
f99e6d7583 Fixed warnings. 2019-03-11 18:29:19 -07:00
Leonardo Zide
1d8988fbb4 Removed .svg extension from desktop file per @probonopd. 2019-03-10 14:06:01 -07:00
Leonardo Zide
6d24cc1e08 Formatting fixes. 2019-03-09 16:38:54 -08:00
Thomas Cujé
94d4e49ed4 Minor improvements
- Fix gcc fallthrough warnings
- Replace deprecated QT QStyleOptionViewItemV3
- Improve translator usage
- Use QString instead of QByteArray
2019-03-10 01:17:24 +01:00
Thomas Cujé
477dc1c616 Improve render dialog. Fixes #160
- improved layout
- shows errors correctly
- shows rendering progress
2019-03-10 01:17:24 +01:00
Thomas Cujé
3b92aea559 Add auto-load for most recent file. Relates #216 2019-03-10 01:17:24 +01:00
Thomas Cujé
d9f995b3a2 Add separate button to select archive library. Fixes #239 2019-03-10 01:17:24 +01:00
Thomas Cujé
0524192658 Show full tile description as tooltip. Fixes #166 2019-03-06 17:42:10 +01:00
Thomas Cujé
fd29f37d11 Let QT translate keyboard shortcuts. Fixes #308
This way QT also translates default UI buttons like yes, no, ok, cancel,
ect...
2019-03-03 11:32:27 +01:00
Thomas Cujé
465ef49a54 Replace http with https links 2019-03-01 20:29:49 +01:00
Thomas Cujé
de995b260d Mark leocad.org URL in about as non-translateable 2019-03-01 20:29:49 +01:00
Leonardo Zide
0abc4a258a Enabled polygon offset (with a smaller offset) for opaque triangles so they don't z fight with lines. 2019-02-23 11:33:39 -08:00
Johannes Sixt
31703618c3 Reduce z-fighting when translucent walls are touching opaque walls. (#303)
* Move GL calls around drawing of translucent meshes to lcContext.

* Reduce z-fighting when translucent walls are touching opaque walls.

This fixes issue #301.
2019-02-23 10:56:38 -08:00
Leonardo Zide
2ddb955306 Prompt before overwriting a minifig template. Closes #294. 2019-02-19 13:00:52 -08:00
Leonardo Zide
8f7f3984a7 Prompt before deleting minifig templates. Fixes #286. 2019-02-14 17:18:27 -08:00
Leonardo Zide
ee6ef69ede Confgurable view sphere colors. 2019-01-20 11:59:18 -08:00
Leonardo Zide
a10d1c1727 Create a static vertex buffer for the view sphere. 2018-11-03 17:54:32 -07:00
Leonardo Zide
b77b9aac5c Replaced view cube with a sphere. 2018-10-28 17:59:01 -07:00
Leonardo Zide
75ed98b88d Added string cache. 2018-09-23 19:31:33 -07:00
Leonardo Zide
15d5e89cee Added view cube preferences. 2018-09-02 11:23:49 -07:00
Leonardo Zide
b09439d97d Fixed alpha value of translucent parts in PNG files. Fixes #241. 2018-07-04 11:19:15 -07:00
Leonardo Zide
c8952c9147 Fixed properties widget during submodel editing. 2018-05-11 16:23:43 -07:00
Leonardo Zide
152a3cf7b6 Fixed edit/find/select dialogs not working while editing a submodel. 2018-04-16 18:29:42 -07:00
Leonardo Zide
aaa33d55e5 Save images to the documents folder if a folder is not specified. Fixes #224. 2018-04-14 18:27:16 -07:00
Leonardo Zide
900456ca31 Refactored http download code. 2018-04-14 11:44:39 -07:00
Leonardo Zide
930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
Leonardo Zide
45d9c7a2f1 Fixed Qt4. 2018-03-12 14:34:28 -07:00
Leonardo Zide
b07631d4a9 Added minifig wizard templates. Closes #212. 2018-03-11 20:35:04 -07:00
Leonardo Zide
6d7423efb4 Fixed LGEO path browse button. 2018-03-10 11:41:23 -08:00
Leonardo Zide
9862d5c59e Fixed wrong buffer size. 2018-02-22 12:06:32 -08:00
Leonardo Zide
10e538efde Fixed static analysis warnings. 2018-02-21 17:27:24 -08:00
Leonardo Zide
d7cc03eb41 Fixed clang warning. 2018-02-17 18:42:25 -08:00
Leonardo Zide
769b80b22d Support dragging colors from the color palette to paint pieces. Closes #177. 2018-01-12 10:50:25 -08:00
Leonardo Zide
a4a97db568 Save minidumps to the temp folder. Fixes #186. 2018-02-10 14:23:23 -08:00
Leonardo Zide
146c3ea897 Updated version number. 2018-02-09 18:19:20 -08:00
Leonardo Zide
959dcca186 Fixed Windows compiler error. 2018-01-19 11:41:26 -08:00
Leonardo Zide
a3995efa36 Fixed connecting to rebrickable on Linux. 2018-01-19 11:17:21 -08:00
Leonardo Zide
db7c0f8edf Changed default Linux POV-Ray output to png. 2018-01-12 09:40:32 -08:00
Leonardo Zide
aefb034be7 Fixed POV-Ray path. 2018-01-15 18:08:16 -08:00
Leonardo Zide
ce8ea6a92e Fixed static analysis warnings. 2018-01-15 17:03:08 -08:00
Leonardo Zide
1f03b3cda7 Added MacOS POV-Ray executable. 2018-01-15 10:48:34 -08:00
Leonardo Zide
15294e6c64 Use a memory mapped file instead of shared memory for POV renderings. 2018-01-14 21:45:50 -08:00
Leonardo Zide
74faeef382 Added POV-Ray exe. 2018-01-14 15:37:07 -08:00
Leonardo
1b415cf853 Disabled shortcuts when one of the part transform fields has focus. 2018-01-01 10:14:05 -08:00
Leonardo
caceae9b91 Updated version number. 2018-01-01 08:00:39 -08:00
Leonardo
1541d05c31 Added POV-Ray quality and save image. 2017-12-27 13:55:37 -08:00
Leonardo
5a7faa4323 Fixed compiling on some Qt 5.5. 2017-12-20 18:18:22 -08:00
Leonardo Zide
911808c9fb Warning fix. 2017-12-11 22:38:53 -08:00
leozide
bc02c04272 Added -html command line option. Closes #145. 2017-12-11 11:14:37 -08:00
Leonardo Zide
5f582f7fd1 Renamed user facing strings "project" -> "model" and "model" -> "submodel" to be consistent. 2017-12-10 15:01:12 -08:00
Leonardo Zide
edfe121703 Fixed render cancel not working in some cases. 2017-12-09 16:27:56 -08:00
Leonardo Zide
33f33af0aa iOS fixes. 2017-12-06 22:08:56 -08:00
Leonardo Zide
db1bccfee0 Handle unicode characters on the command line. 2017-12-02 19:42:42 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide
035da7ce0a Show a progress dialog while scanning parts folders. 2017-11-24 18:19:29 -08:00
Leonardo Zide
9c5709feea Default save image location to the project folder. 2017-11-24 11:53:04 -08:00
leozide
696189e171 Added Shift+LMB shortcut to remove selection. 2017-11-20 15:12:00 -08:00
Leonardo Zide
3a055a4724 Only show used parts in search dialog. 2017-11-19 14:12:27 -08:00
leozide
57bad9ceba Smaller transform edits. 2017-11-13 17:24:36 -08:00
Leonardo Zide
31875a6749 Render Dialog improvements. 2017-11-04 18:54:12 -07:00
leozide
a9614f9b30 Fixed Qt4. 2017-11-03 17:16:10 -07:00
leozide
01cfcf1e13 Added POV render resolution. 2017-11-03 16:01:30 -07:00
leozide
657fdc0f2b POV render working on Linux. 2017-11-02 17:35:12 -07:00
leozide
755b9caddf Removed old POV-Ray Dialog. 2017-11-01 16:33:58 -07:00
leozide
8fed7534ff Commented out Windows specific code. 2017-09-22 14:04:50 -07:00
Leonardo Zide
d7ce050561 Added new render dialog. 2017-09-22 10:08:02 -07:00
Leonardo Zide
943b93a514 Added https support to the Windows version. 2017-09-16 12:20:17 -07:00
leozide
ecdcd50239 Updated inventory import to use the newly added LDraw ID. 2017-09-15 14:52:05 -07:00
leozide
4452cedce6 Fixed properties part combo sorting. 2017-09-01 17:09:27 -07:00
leozide
ab33fc47b0 Removed LC_INSTALL_PREFIX. 2017-08-31 16:53:22 -07:00
Leonardo Zide
bf75ce012f Qt4 fixes. 2017-08-28 20:00:48 -07:00
leozide
1725d0cf0e Rewrote library search code. 2017-08-28 19:13:17 -07:00
Leonardo Zide
e905047179 Disabled update checks on OSX because of bug #62. Fixes #112. 2017-08-27 12:10:52 -07:00
leozide
b658795f46 Fixed properties piece combo sorting. Fixes #109. 2017-08-25 14:27:24 -07:00
leozide
3fc53d9d5f Added shading options. Closes #104. 2017-08-25 12:57:14 -07:00
Leonardo Zide
bb8e85d2c1 Handle return key events in the search edit. 2017-08-21 23:16:32 -07:00
leo
d39ec689a5 Fixed Qt4. 2017-08-20 14:06:13 -07:00
Leonardo Zide
138ebdacda Import set inventories. 2017-08-20 13:47:53 -07:00
leo
9eb0dd4cd1 Added Sets Database Dialog. 2017-08-19 10:12:25 -07:00
Leonardo Zide
02231b363b Support saving images larger than 2048. 2017-07-30 14:18:57 -07:00
leozide
06fec63c87 Fixed Debian 7 compile error. 2017-07-27 12:38:01 -07:00
Leonardo Zide
82528a2c7a Don't uppercase part names when saving. 2017-07-27 09:21:55 -07:00
leozide
5de0644c7b Save positions with 4 digits and rotations with 6. 2017-07-26 17:34:25 -07:00
leozide
6c23edf064 Only save 4 decimal digits. 2017-07-24 16:53:56 -07:00
Leonardo Zide
94eb5b8ae2 Store library pieces in a map. 2017-07-23 19:35:18 -07:00
leozide
c02e19a2eb Reduced number of digits after decimal separator to 4. 2017-07-20 17:57:07 -07:00
leozide
c924b90955 Converted include guards to pragma once. 2017-07-19 14:20:32 -07:00
leozide
65d9e0cf52 Fixed wrong color tooltips. Fixes #74. 2017-07-17 12:54:39 -07:00
Leonardo Zide
f5f98994bb Added option for alternate mouse shortcuts with defaults that match LDD. 2017-07-11 14:25:06 -07:00
Leonardo Zide
77a70758f8 Fixed static analysis warnings. 2017-07-02 20:12:17 -07:00
Leonardo Zide
bb5a703f51 Replaced HTML parts list table with image. 2017-07-02 16:10:30 -07:00
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