Commit graph

527 commits

Author SHA1 Message Date
Leonardo Zide
90f1336a48 Scoped enums and constexpr. 2020-03-22 13:44:20 -07:00
Leonardo Zide
ade7334fa1 Support up to 10 control points and prevent the user from adding more. 2020-03-22 11:12:15 -07:00
Leonardo Zide
85a9b19b2c Warning fixes. 2020-02-24 14:31:08 -08:00
Leonardo Zide
93ef9e0edc Fixed view size on retina displays. Fixes #447. 2020-02-24 12:58:38 -08:00
Leonardo Zide
e9c38e4f39 Added scoped enums. 2020-02-15 11:36:06 -08:00
Leonardo Zide
e5d06a29a2 Renamed pipette to color picker and fixed indentation. 2020-02-15 11:14:12 -08:00
RenateZwei
aa3ead6504
Added color picker (#446)
Added color picker
2020-02-15 10:59:14 -08:00
Leonardo Zide
858bb73778 Warning fix. 2020-01-27 12:01:52 -08:00
Leonardo Zide
59098436b7 Use menu names for the keyboard preferences. Fixes #411. 2020-01-26 11:03:41 -08:00
Leonardo Zide
3e3e7135f8 Made visibility property more user friendly. Fixes #423. 2020-01-25 18:07:33 -08:00
Leonardo Zide
51fe5416b4 Replaced HTML parts list with BOM style image. 2020-01-14 12:48:18 -08:00
Leonardo Zide
6d818d48d2 Fixed HTML export not including submodels. Fixes #429. 2020-01-11 12:45:36 -08:00
Leonardo Zide
b43675f323 Array cleanup. 2020-01-10 17:40:14 -08:00
Leonardo Zide
9bc99235ef Fixed compiler warnings. 2020-01-05 15:19:50 -08:00
Leonardo Zide
8f48b09ae3 Added view sphere toggle. Fixes #284. 2020-01-05 11:38:24 -08:00
Leonardo Zide
7425c41673 Allow multiple selection in the Model List Dialog. Fixes #419. 2020-01-04 13:00:31 -08:00
Leonardo Zide
cbf534fcdf Added option to fade previous steps. 2020-01-01 17:06:17 -08:00
Leonardo Zide
c0734d49ef Always show part totals at the bottom. 2019-12-22 12:42:02 -08:00
Leonardo Zide
67d2c5b334 Fixed typo. 2019-12-09 11:47:43 -08:00
Leonardo Zide
24890ecebd Added array count macro. 2019-12-09 11:43:54 -08:00
Leonardo Zide
41b89de83f Added language option. Closes #336. 2019-11-28 13:52:06 -08:00
Leonardo Zide
0ecc4b5966 Added option to disable mesh LOD. Closes #400. 2019-11-28 12:47:19 -08:00
Leonardo Zide
5854cfce89 Added wrapper for glDepthMask. 2019-11-09 18:11:25 -08:00
Leonardo Zide
fa06a83704 Add stud logo setting to cache check. 2019-09-23 17:06:16 -07:00
Trevor SANDY
5adcfb4027 Add stud logo preference and command line option (#387)
* Add stud logo preference and command line option

* Support add stud logo when using disk library
2019-09-21 09:47:33 -07:00
Leonardo Zide
23eb88df4f Added minifig template import/export. 2019-09-14 17:05:13 -07:00
Leonardo Zide
1c5fb8dd2d Better render dialog resizing. Fixes #386. 2019-09-14 12:05:30 -07:00
Leonardo Zide
132a62e6a8 Fixed POV-Ray rendering not working when the user's temp folder has spaces. 2019-09-08 18:01:01 -07:00
Leonardo Zide
c425b01ecb Fixed render log not saving all lines. 2019-09-08 12:19:00 -07:00
Leonardo Zide
6c7291b919 Updated version. 2019-07-14 18:22:57 -07:00
Leonardo Zide
bcffeb3727 Removed horizontal lines from dialogs. 2019-07-14 18:17:58 -07:00
Leonardo Zide
d496e4ad0b Fixed view sphere options being disabled incorrectly. 2019-07-14 12:58:20 -07:00
Leonardo Zide
1457dde9e5 Updated version number. 2019-07-14 10:07:54 -07:00
Leonardo Zide
9d7fdf0b82 Fixed warning. 2019-07-09 14:03:19 -07:00
Leonardo Zide
4493c3f6f2 Array cleanup. 2019-07-04 17:06:26 -07:00
Leonardo Zide
5a3abf18e0 Allow custom color and minifig settings files. Fixes #359. 2019-06-20 18:52:33 -07:00
Leonardo Zide
617a667521 Array cleanup. 2019-06-04 18:45:22 -07:00
Leonardo Zide
a464606507 Fixed compiler warnings. 2019-06-03 13:23:04 -07:00
Leonardo Zide
8f8a93e835 Fix for Qt4. 2019-05-30 12:54:51 -07:00
Leonardo Zide
35ce03dd05 Fix for Qt4. 2019-05-30 12:38:51 -07:00
Leonardo Zide
4885bb59f1 Fix for Qt4. 2019-05-30 12:35:25 -07:00
Leonardo Zide
cf135bcbc5 Fixed compiler warnings. 2019-05-27 16:22:49 -07:00
Leonardo Zide
207d1158a7 Fixed compiler warnings. 2019-05-21 14:17:51 -07:00
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