Commit graph

1270 commits

Author SHA1 Message Date
Leonardo Zide
3d9395e175 Avoid adding the project file to the file watcher multiple times. 2019-07-04 15:35:52 -07:00
Leonardo Zide
d0f1b2e49e Qt4 fix. 2019-07-01 14:58:10 -07:00
Leonardo Zide
1bfa710706 Only close tab if the user clicked and released the mouse on the same tab. 2019-07-01 14:38:10 -07:00
Thomas Cujé
0bae463b71 Close tab with middle mouse click (#363) 2019-07-01 14:11:47 -07:00
Leonardo Zide
b42e3b7e31 Array cleanup. 2019-06-23 18:28:14 -07:00
Leonardo Zide
6681986517 Delete popup menus after they are shown. 2019-06-23 13:15:12 -07:00
Leonardo Zide
4c0a696661 Fixed LDD import not converting transforms correctly. Fixes #355. 2019-06-23 12:52:53 -07:00
Johannes Sixt
19e1493251 Fix spring of synthesized shock absorbers (stiff, extra stiff, soft versions) (#360) 2019-06-23 10:48:25 -07:00
Leonardo Zide
5a3abf18e0 Allow custom color and minifig settings files. Fixes #359. 2019-06-20 18:52:33 -07:00
Leonardo Zide
6b26b2597e Added bricklink rubber colors. 2019-06-18 16:02:35 -07:00
Leonardo Zide
50daa6a3b6 Use Peeron color table for BrickLink colors. 2019-06-05 15:24:53 -07:00
Leonardo Zide
1ae3cfa8b0 Always list part quantity in BrickLink export. 2019-06-05 14:37:00 -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
7001cdf11d Fixed crash loading textured parts. 2019-06-02 09:39:12 -07:00
Leonardo Zide
b8c2074c93 Fixed primitives under p/8/ not being found by loose file libraries. 2019-06-01 19:54:09 -07:00
Leonardo Zide
f74b7bc801 Prompt to save ldr files with multiple models as mpd. Fixes #311. 2019-06-01 11:11:36 -07:00
Leonardo Zide
9809cbc919 Fix for Qt4. 2019-05-30 12:26:10 -07:00
Leonardo Zide
514c1e54ec Moved common includes to precompiled header. 2019-05-30 12:06:54 -07:00
Leonardo Zide
0d1af47be4 Warning fixes. 2019-05-28 11:10:21 -07:00
Leonardo Zide
e45fe81ace Array cleanup. 2019-05-27 16:39:51 -07:00
Leonardo Zide
cf135bcbc5 Fixed compiler warnings. 2019-05-27 16:22:49 -07:00
Leonardo Zide
7d43f54e6e Fixed normal smoothing between texture and untextured triangles. Fixes #175. 2019-05-27 16:07:20 -07:00
Leonardo Zide
48dca161c0 Merge branch 'master' of https://github.com/leozide/leocad 2019-05-26 11:08:51 -07:00
Leonardo Zide
3070d25663 Support exporting flexible parts. Fixes #157. 2019-05-26 11:08:47 -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
ec720a6c04 Fixed ldconfig.ldr loading on case sensitive file systems. Fixes #348. 2019-05-18 10:49:52 -07:00
Leonardo Zide
d793373923 Set minimum height for parts list. 2019-05-11 16:07:27 -07:00
Leonardo Zide
2e5494c0df Set minimum parts list width. Fixes #346. 2019-05-11 12:05:26 -07:00
Leonardo Zide
8ca4831003 Fixed crash running offscreen. 2019-04-02 11:19:23 -07:00
Leonardo Zide
2f102c2274 Array cleanup. 2019-03-28 17:59:58 -07:00
Leonardo Zide
80d8016a5a Fix for compiler errors on Mageia. 2019-03-28 15:44:30 -07:00
Leonardo Zide
590422a30a Array cleanup. 2019-03-17 13:27:57 -07:00
Leonardo Zide
3f7db06fce Improved readability of texture mapping parameters. 2019-03-17 13:17:11 -07:00
Leonardo Zide
fb0bcc48ec Also print continuous build on the command line. 2019-03-17 12:29:02 -07:00
Tomasz Goliński
e07b9d7ec6 Allow building without QT gamepad module (#331) 2019-03-16 15:49:30 -07:00
Leonardo Zide
ad4292e9d0 Changed nsi paths to be relative to the root folder. 2019-03-14 12:18:58 -07:00
Leonardo Zide
b18645b880 Fixed hidden parts being exported and shown in parts lists. 2019-03-13 14:36:40 -07:00
Leonardo Zide
b31d33fd67 Don't show hidden pieces in submodels. 2019-03-12 19:51:04 -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
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é
764c653252 Move submodels menu entry above models list
Makes it easier to find the menu entry even in models with large number
of submodels.
2019-03-12 12:22:55 -07:00
Thomas Cujé
e8949c413f Update models after submodel editing. Fixes #321 and #322 2019-03-12 12:13:59 -07:00
Thomas Cujé
df73a3569c Update piece info on submodel edit end. Fixes #222 2019-03-12 12:03:32 -07:00
Leonardo Zide
f99e6d7583 Fixed warnings. 2019-03-11 18:29:19 -07:00
Leonardo Zide
586ae0425f Fixed compiler warning. 2019-03-11 13:04:31 -07:00
Leonardo Zide
590a5bfa97 When creating a new tab, only set it active after a view has been created. Fixes #324. 2019-03-10 16:26:30 -07:00
Leonardo Zide
1d8988fbb4 Removed .svg extension from desktop file per @probonopd. 2019-03-10 14:06:01 -07:00
Leonardo Zide
d084d11b5a Show reason a file couldn't be loaded. 2019-03-10 13:41:21 -07:00
Thomas Cujé
cc2a5156f7 Place new submodel at origin. Fixes #314 2019-03-10 20:28:22 +01:00
Thomas Cujé
940e464560 Remove double error message box on project load 2019-03-10 20:28:22 +01:00
Thomas Cujé
273cc3d7be Mark project as modified on external file delete 2019-03-10 20:28:22 +01: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é
3b92aea559 Add auto-load for most recent file. Relates #216 2019-03-10 01:17:24 +01:00
Leonardo Zide
53935734eb Clean up for loops. 2019-03-09 09:50:34 -08:00
Leonardo Zide
322a070a48 Fixed POV export when a part is missing from the library. Fixes #315. 2019-03-06 09:08:51 -08:00
Thomas Cujé
c258b4b709 Do not show submodel preview as active. Fixes #313 2019-03-06 17:40:13 +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é
1959dc0be6 Fix viewsphere labels not being translated 2019-03-01 19:46:55 +01:00
Thomas Cujé
5707c497a4 Fix some compiler warnings 2019-03-01 09:56:11 +01:00
Leonardo Zide
32aceb19a2 Lowered mouse sensitivity. Fixes #296. 2019-02-28 16:12:18 -08:00
Leonardo Zide
319dd3a1a0 Preserve file case when loading a file from the same folder as the current project. Fixes #302. 2019-02-27 16:35:02 -08:00
Leonardo Zide
2356af4049 Swapped opaque and translucent polygon offsets. 2019-02-23 11:36:22 -08: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
5d06035187 Fixed bounding box calculation of parts without triangles. 2019-02-22 17:02:38 -08:00
Leonardo Zide
188860f90d Crash fix when passing a quote on the command line. 2019-02-20 16:55:46 -08:00
Leonardo Zide
b47598f651 Added synth support for Hose Flexible parts. 2019-02-20 16:52:50 -08:00
Leonardo Zide
8ee515fcc8 Added synth support for Technic Flex-System hoses. 2019-02-19 18:05:30 -08:00
Leonardo Zide
0feb64ec82 Removed Space category since it was deprecated in the latest parts update. 2019-02-18 18:53:36 -08:00
Leonardo Zide
3128a078cb Fixed crash when deleting a submodel being edited in another view. 2019-02-09 16:43:39 -08:00
Leonardo Zide
8f59a67924 Detach camera when diving into a submodel. 2019-02-09 16:30:11 -08:00
Leonardo Zide
378ece224f Fixed compiler warnings. 2019-02-05 16:35:15 -08:00
Leonardo Zide
90b8409017 Better way of drawing the view sphere outline. 2019-01-22 14:34:44 -08:00
Leonardo Zide
dfa1a66906 Added outline to the view sphere. Closes #281. 2019-01-21 16:54:10 -08:00
Leonardo Zide
40ad756348 Added shortcut for closing the current tab. 2019-01-20 16:36:59 -08:00
Leonardo Zide
ee6ef69ede Confgurable view sphere colors. 2019-01-20 11:59:18 -08:00
Leonardo Zide
6077400b3c Round viewsphere highlight. 2019-01-19 20:04:08 -08:00
Johannes Sixt
e190900778 Convert SectionCallback to std::function<>. (#280)
This is just code hygiene. It makes the code shorter, more localized,
and more idiomatic C++.
2019-01-13 10:48:37 -08:00
Leonardo Zide
c8102034f9 Added view sphere highlight. 2019-01-12 17:43:23 -08:00
Leonardo Zide
19680a199b Moved shader code to separate files. 2018-11-22 16:13:02 -08:00
Leonardo Zide
71b5797038 Changed view sphere texture format to alpha only. 2018-11-06 13:45:14 -08:00
Leonardo Zide
7bb791e3eb Fixed dangling pointer access. Fixes #277. 2018-11-05 14:37:01 -08:00
Leonardo Zide
a10d1c1727 Create a static vertex buffer for the view sphere. 2018-11-03 17:54:32 -07:00
Leonardo Zide
8f04ccbec7 Fixed small leak merging files. Fixes #276. 2018-10-31 16:16:45 -07:00
Leonardo Zide
b77b9aac5c Replaced view cube with a sphere. 2018-10-28 17:59:01 -07:00
Leonardo Zide
58c63982d2 Renamed in-place editing options. 2018-10-14 08:47:28 -07:00
Leonardo Zide
149df626b6 Added option to go back to editing the top submodel. 2018-10-13 16:45:14 -07:00
Leonardo Zide
85d97887b2 Switch back to linear filtering for text to reduce blur. 2018-09-30 15:46:35 -07:00
Leonardo Zide
bcd6ce8791 Use anisotropic for the string cache texture. 2018-09-29 19:45:21 -07:00
Leonardo Zide
8697d57e00 Fixed OpenGL ES. 2018-09-26 17:04:47 -07:00
Leonardo Zide
7be53b5a0d Fixed uninitialized variable. 2018-09-26 14:56:58 -07:00
Leonardo Zide
9811fc860e Fixed crash when gamepads are enabled. Fixes #268. 2018-09-26 14:53:50 -07:00
Leonardo Zide
5dff72cf25 Fixed compiler error. 2018-09-24 12:07:50 -07:00
Leonardo Zide
671d5fa266 Fixed fallthrough warnings. 2018-09-24 11:29:05 -07:00
Leonardo Zide
61ce943b5b Fixed Qt 4.8 errors. 2018-09-24 11:16:39 -07:00
Leonardo Zide
75ed98b88d Added string cache. 2018-09-23 19:31:33 -07:00
Leonardo Zide
8b0bfc801e Fixed inconsistencies between default viewpoints and the view cube. 2018-09-19 13:19:01 -07:00
Leonardo Zide
f507e08cde Fixed wrong cursor when the mouse is over the view cube and other objects at the same time. 2018-09-19 12:56:45 -07:00
Leonardo Zide
7ba01dbff7 Fixed view cube text alignment. 2018-09-15 17:19:09 -07:00
Leonardo Zide
39ff605c8b Switch to camera orbit when dragging the view cube. 2018-09-11 16:36:10 -07:00
Leonardo Zide
45124f3f4f Fixed inverted position when clicking on the view cube. 2018-09-11 13:34:59 -07:00
Leonardo Zide
acadcde7d2 View cube rendering improvements. 2018-09-09 16:44:17 -07:00
Leonardo Zide
15d5e89cee Added view cube preferences. 2018-09-02 11:23:49 -07:00
Leonardo Zide
69d46cc4c4 Allow undoing hiding operations. Fixes #251. 2018-09-02 10:31:57 -07:00
Leonardo Zide
5e31d6985b Added new files to project. 2018-08-20 11:47:46 -07:00
Leonardo Zide
4aa2cbeeb6 First pass view cube. 2018-08-19 20:28:04 -07:00
Leonardo Zide
1c1a5fb599 Fixed model comments being duplicated every time undo is used. Fixes #247. 2018-08-01 14:05:01 -07:00
Leonardo Zide
7bdc918b98 Disable edge lines when line width is 0. 2018-07-31 11:33:32 -07:00
Leonardo Zide
d1b398be71 Added --shading and --line-width command line options. Closes #244. 2018-07-21 15:33:15 -07:00
Leonardo Zide
c25a389f19 Set the main model active if no models are set on the command line when saving images. Fixes #243. 2018-07-07 15:26:36 -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
508b1e416f Fixed string braided synth orientation. 2018-06-03 12:53:53 -07:00
Leonardo Zide
b4448e2d63 Fixed string braided normals. 2018-05-27 13:19:45 -07:00
Leonardo Zide
4f549e9163 Added new flexible ribbed hose lengths. 2018-05-26 18:13:04 -07:00
Leonardo Zide
39bd299b56 Fixed flexible axle normals. 2018-05-26 12:30:20 -07:00
Leonardo Zide
f6cbbe9636 Moved gamepad Qt check to 5.8. 2018-05-13 17:37:02 -07:00
Leonardo Zide
3276b9b320 Initial gamepad implementation. Closes #237. 2018-05-13 17:09:06 -07:00
Leonardo Zide
c8952c9147 Fixed properties widget during submodel editing. 2018-05-11 16:23:43 -07:00
Leonardo Zide
8d3b6a1d7a Fixed texmap in files included with an offset. 2018-05-07 12:26:26 -07:00
Leonardo Zide
d408d97fc1 Update timeline when editing a submodel. 2018-05-06 18:26:17 -07:00
Leonardo Zide
25751889cc Fixed missing path separator in image file name. Fixes #227. 2018-04-18 11:28:18 -07:00
Leonardo Zide
4f298a1833 Update parts list when editing submodels. 2018-04-17 16:08:29 -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
bf59b42e0a Linux fixes. 2018-04-14 11:53:00 -07:00
Leonardo Zide
900456ca31 Refactored http download code. 2018-04-14 11:44:39 -07:00
Leonardo Zide
7f6a7d82ae Submodel edit mouse fixes. 2018-04-07 18:45:44 -07:00
Leonardo Zide
752ae54788 Fixed interface draw location in active submodels. 2018-04-07 17:17:32 -07:00
Leonardo Zide
760d14c6e4 Fixed not being able to dive into a nested submodel. 2018-04-07 15:49:03 -07:00
Leonardo Zide
05cf0d6b90 Don't render the preview in wireframe mode. Closes #219. 2018-04-07 15:28:44 -07:00
Leonardo Zide
718b31a2bd Fixed selection tinting when editing submodels. 2018-04-07 11:45:00 -07:00
Leonardo Zide
4a9cd5556b Have actions run on the active submodel. 2018-04-07 08:43:54 -07:00
Leonardo Zide
b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide
e0acb8f2b3 Fix case of part ids included in models before searching for them. Fixes #215. 2018-03-23 19:03:16 -07:00
Leonardo Zide
c49a7f510a Removed GL_TEXTURE_MAX_LEVEL. 2018-03-21 18:26:00 -07:00
Leonardo Zide
930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
Leonardo Zide
9fc0544cfb Renamed Models to Submodels for consistency. 2018-03-17 12:24:16 -07:00
Leonardo Zide
47b28d06be Use texmap fallback if we fail to load the png file. Fixes #213. 2018-03-17 12:21:38 -07:00
Leonardo Zide
b07631d4a9 Added minifig wizard templates. Closes #212. 2018-03-11 20:35:04 -07:00
jschwender
f1e5796580 Update lc_model.cpp (#208)
Fixed typo in undo string.
2018-02-28 14:07:24 -08:00
Leonardo Zide
c5f4500b4b Disabled LC_LOAD_EXTENSIONS for GLES. 2018-02-25 15:58:16 -08:00
Leonardo Zide
232ece5e6b Only check QGLFormat::samples when sampleBuffers is enabled. Fixes #196. 2018-02-24 18:22:53 -08:00
Leonardo Zide
51bbdb9b97 Added option to remove key frames from selected objects. 2018-02-24 12:47:19 -08:00
Leonardo Zide
35eb41217a Fixed first key frame being overwritten when loading a file. Fixes #191. 2018-02-24 11:44:56 -08:00
Leonardo Zide
10e538efde Fixed static analysis warnings. 2018-02-21 17:27:24 -08:00
Leonardo Zide
172528ac1f Removed calls to foreach. 2018-02-21 16:12:18 -08:00
Leonardo Zide
10491629b7 Duplicate groups when duplicating pieces. Fixes #158. 2018-02-19 19:12:32 -08:00
Leonardo Zide
a1dfc7c26c Fixed inverted u texture coordinate on cylindrical projections. 2018-02-19 10:47:10 -08:00
Leonardo Zide
0c9c743951 Replaced email menu item with a link to the bug report page on github. 2018-02-18 16:17:48 -08:00
Leonardo Zide
856d0e10d5 Fixed camera menu not updating when selecting a viewpoint and the active view has a camera. 2018-02-17 17:32:07 -08:00
Leonardo Zide
dcc7b80ca3 Fixed case where Remove View on nested views was removing more views than it should. 2018-02-17 17:28:53 -08:00
Leonardo Zide
247dc0d7a2 Fixed Windows warning. 2018-02-17 11:34:15 -08:00
Leonardo Zide
f3aba2fea3 Don't lower case texture file names. 2018-02-17 11:32:29 -08:00
Leonardo Zide
a826fd9722 Fixed cylindrical texmap wrapping around the back. 2018-02-13 16:16:22 -08:00
Leonardo Zide
e2fdf6ca03 Match cylindrical texmap to spherical. 2018-02-13 15:54:55 -08:00
Leonardo Zide
2ac187d95c Bumped mesh version to force rebuild parts with welding issues. 2018-02-10 15:42:59 -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
146c3ea897 Updated version number. 2018-02-09 18:19:20 -08:00
Leonardo Zide
5ac11506b0 Fixed parts inside mpd files not drawing. Fixes #178. 2018-02-06 22:07:35 -08:00
Leonardo Zide
752ee5c4e7 Prevent mouse shortcuts from overriding overlay actions. Fixes #180. 2018-02-06 14:47:11 -08:00
Leonardo Zide
8334f2d877 Moved axis icon to keep it in view. Fixes #168. 2018-02-06 11:31:05 -08:00
Leonardo Zide
0621a3848f Fixed pan not working when the center of the model is behind the camera. Fixes #161. 2018-02-04 11:53:13 -08:00
Leonardo Zide
945473267f Fixed part description cache not checking file times. 2018-02-01 12:48:31 -08:00
Leonardo Zide
d7928a78ed Fixed spherical texture coordinates around poles. 2018-01-28 10:03:59 -08:00
Leonardo Zide
d3d88ccaf1 Fixed texcoord wrap issue with spherical texmap. 2018-01-27 19:45:06 -08:00
Leonardo Zide
ebc67d2a8b Initial implementation of spherical texture mapping. 2018-01-27 15:57:48 -08:00
Leonardo Zide
9c503eb7a4 Fixed moving the pivot point of rotated pieces. Fixes #179. 2018-01-22 17:14:38 -08:00
Leonardo Zide
5c1cfa4bc9 Only use triangles to calculate the mesh bounding box. 2018-01-20 17:35:21 -08:00
Leonardo Zide
6f940a473e Fixed normal smoothing on texmap vertices. 2018-01-20 12:04:50 -08:00
Leonardo Zide
f79a7f2093 Decreased vertex welding distance. 2018-01-20 11:51:57 -08:00
Leonardo Zide
a3995efa36 Fixed connecting to rebrickable on Linux. 2018-01-19 11:17:21 -08:00
Leonardo
0ec956e700 Fix for Qt Creator 5.10 precompiled header bug on Windows. 2018-01-19 09:46:58 -08:00
Leonardo Zide
0112b5385b Support cylindrical texmap. 2018-01-17 15:14:30 -08:00
Leonardo Zide
ce8ea6a92e Fixed static analysis warnings. 2018-01-15 17:03:08 -08:00
Leonardo Zide
93c147eeed Make sure there's always a tab open after loading a file. 2018-01-15 16:36:50 -08:00
Leonardo Zide
7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
Leonardo Zide
74faeef382 Added POV-Ray exe. 2018-01-14 15:37:07 -08:00
Leonardo Zide
ce8a830d40 Fixed alpha of the opaque parts of texmap translucent parts. 2018-01-12 21:44:49 -08:00
Leonardo Zide
65ff6a41c6 Fixed parts that use texmap on primitives. 2018-01-12 21:23:43 -08:00
leo
425e68d2a0 Removed tab context menu from Qt4 since it conflicts with the view menu. 2018-01-12 09:10:05 -08:00
leo
f776ef4ea2 Fixed Qt4. 2018-01-07 08:59:05 -08:00
Leonardo Zide
5b172b6cf8 Added context menu to model tab widget. 2018-01-06 15:22:40 -08:00
Leonardo Zide
dff8aac29b Restore last tab layout when loading a file. 2018-01-06 15:01:04 -08:00
Leonardo Zide
601401fa1b Fixed reloading model references. 2018-01-06 10:15:24 -08:00
Leonardo
e097ad630b Fixed tiled render math. Fixes #156. 2018-01-04 10:22:57 -08:00
Leonardo
1e99d7050a Fixed compile error. Fixes #155. 2018-01-03 14:24:42 -08:00
Leonardo
d242fa7ea5 Don't reset tab layout when reloading a model. 2018-01-02 19:46:50 -08:00
Leonardo
0259be0099 Fixed Qt4 compile error. 2018-01-02 16:22:16 -08:00
Leonardo
6f83db7ba2 Prompt to reload if file changes on disk. 2018-01-02 06:10:58 -08:00
Leonardo
caceae9b91 Updated version number. 2018-01-01 08:00:39 -08:00
Leonardo
e4b759009f Use smaller tiles when saving images with MSAA. Fixes #154. 2018-01-01 07:56:25 -08:00
leo
c5a232b8c9 Fixed missing depth buffer when AA is disabled. 2017-12-30 13:03:47 -08:00
leo
f3b392b4fb Fixed compile errors. 2017-12-30 12:49:50 -08:00
Leonardo Zide
5d637b1cad macOS fixes. 2017-12-30 12:12:27 -08:00
Leonardo Zide
3ef029d6d2 Fixed GLES. 2017-12-30 12:04:12 -08:00
Leonardo
50b3e95215 Reuse the same FBO when creating new preview images. 2017-12-29 06:50:18 -08:00
Leonardo
1541d05c31 Added POV-Ray quality and save image. 2017-12-27 13:55:37 -08:00
Leonardo
804e0f6f53 Save MSAA images. Fixes #101. 2017-12-26 10:19:20 -08:00
Leonardo
dac8708bb6 Bumped cache version. 2017-12-23 05:26:55 -08:00
Leonardo
880f8f9a47 Only upload textures from the main thread. 2017-12-22 05:42:28 -08:00
Leonardo
a57c6275c0 Fixed texture path inside ldrawunf.zip. 2017-12-22 04:38:47 -08:00
Leonardo
8060c30ba2 Don't show parent models in the All Parts category. 2017-12-21 14:12:01 -08:00
Leonardo
104f5c843e Auto calculate the far plane when generating preview images. 2017-12-21 14:02:16 -08:00
leozide
50bb299095 Fixed grammar. 2017-12-15 12:02:37 -08:00
leozide
2d538390d3 Added --camera-angles command line option. Closes #147. 2017-12-13 17:36:35 -08:00
Leonardo Zide
7dd36a4d0e Added --html-parts-width/height to the command line. 2017-12-12 22:47:03 -08:00
Leonardo Zide
a2b9549ce8 Fixed bad links when exporting some HTML files. 2017-12-12 22:39:11 -08:00
Leonardo Zide
521fa57592 Fixed parts list image being the same for all models when exporting to HTML. 2017-12-12 22:23:26 -08:00
Leonardo Zide
58219c946c Fixed compiler warnings. 2017-12-12 22:17:14 -08:00
leozide
25b5d3e618 Added -html to CLI help. 2017-12-11 14:00:25 -08:00
leozide
bc02c04272 Added -html command line option. Closes #145. 2017-12-11 11:14:37 -08:00
Leonardo Zide
be3c96006f Removed old DoDialog function. 2017-12-10 18:12:31 -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
leo
a339a62a97 Fixed crash on startup on some configs. Fixes #146. 2017-12-10 10:20:31 -08:00
leo
ace53d4a9d Fixed compiling on Qt5.0 to 5.2. 2017-12-10 10:13:58 -08:00
Leonardo Zide
8e5cd4a0f4 Fixed LDD importer not matching the transform table. 2017-12-09 16:47:47 -08:00
Leonardo Zide
2de32b91af Adjust home viewpoint. Closes #143. 2017-12-09 16:35:00 -08:00
Leonardo Zide
76d11fe474 Better default POV-Ray lights. 2017-12-09 14:28:11 -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
d6ba0262af Removed LC_POINTER_TO_INT 2017-12-02 12:33:28 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide
c612397b9d Cache part descriptions when using loose files. 2017-11-26 19:21:54 -08:00
Leonardo Zide
f11d33044c Only draw lines when in wireframe mode instead of actually drawing the wireframe meshes. Closes #133. 2017-11-25 15:47:37 -08:00
Leonardo Zide
6658a03d65 Fixed slow shutdown when there's a piece load pending. 2017-11-25 12:57:41 -08:00
Leonardo Zide
5d1a900683 Don't show library load progress when the running from the command line. 2017-11-24 20:00:16 -08:00
Leonardo Zide
eb674a3704 Fixed unresponsive UI while loading complex primitives. 2017-11-24 19:45:27 -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
Leonardo Zide
2071d6810a Don't require a known extension when saving images from the command line. 2017-11-24 11:48:46 -08:00
Leonardo Zide
f51f8d205c Added selection mode button to toolbar. 2017-11-23 18:31:55 -08:00
Leonardo Zide
6878d0157f Support selection mode on all selection tools. 2017-11-21 22:54:49 -08:00
leozide
848cdd9daf Added piece selection modes. 2017-11-21 17:58:36 -08:00
leozide
b1527356a2 Replaced 10 degrees snap with 22.5 degrees. Closes #139. 2017-11-20 16:16:41 -08:00
leozide
696189e171 Added Shift+LMB shortcut to remove selection. 2017-11-20 15:12:00 -08:00
Leonardo Zide
3d5587cbd0 Fixed adding pieces when icons are disabled. 2017-11-19 17:58:32 -08:00
Leonardo Zide
3a055a4724 Only show used parts in search dialog. 2017-11-19 14:12:27 -08:00
Leonardo Zide
80c226db56 Fixed multiple selection. 2017-11-19 13:27:42 -08:00
leozide
2b14b67eb1 Added Tools submenu. 2017-11-14 14:56:37 -08:00
leozide
57bad9ceba Smaller transform edits. 2017-11-13 17:24:36 -08:00
leozide
fe6f1a67dc Simplified default toolbars. 2017-11-13 16:54:14 -08:00
leozide
846a2ac610 Fixed new move tool. 2017-11-13 12:47:35 -08:00
leozide
2e6fbd0679 Fixed crash using the old move tool. 2017-11-13 11:16:29 -08:00
Leonardo Zide
470be6b7a9 New piece free movement mode. 2017-11-12 19:38:07 -08:00
Leonardo Zide
6ca7934681 Removed axis lock option. 2017-11-11 12:46:56 -08:00
Leonardo Zide
f2fc6b3a8d Fixed POV-Ray warnings. 2017-11-04 14:32:21 -07:00
Leonardo Zide
1436037f7b Fixed POV-Ray camera not matching LeoCAD. 2017-11-04 14:21:50 -07:00
leozide
01cfcf1e13 Added POV render resolution. 2017-11-03 16:01:30 -07:00
leozide
fd19af8e73 Preserve focus when duplicating pieces. Fixes #130. 2017-11-03 11:38:47 -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
fb62beb933 Added Shading and Projection to context menu. Closes #128. 2017-10-31 12:33:35 -07:00
Leonardo Zide
733969913e Windows fix. 2017-09-23 09:21:58 -07:00
leozide
5dd0a9a203 Fixed compiler error in some gcc versions. 2017-09-22 16:42:22 -07:00
Leonardo Zide
d7ce050561 Added new render dialog. 2017-09-22 10:08:02 -07:00
leozide
ecdcd50239 Updated inventory import to use the newly added LDraw ID. 2017-09-15 14:52:05 -07:00
leozide
39241c8aad Refresh parts list after preferences changed. 2017-09-13 14:21:53 -07:00
leozide
be388d167b Fixed parts filter not being applied after settings are changed. 2017-09-11 18:26:50 -07:00
Leonardo Zide
f6e4c054a7 Export normals to pov and obj. Fixes #117 . 2017-09-09 11:33:46 -07:00
leozide
bc327a3b00 Fixed relative snap when adding pieces with the mouse. 2017-09-08 14:11:48 -07:00
Johannes Sixt
7d37913b7b Fix error messages of command line argument parsers. (#119)
The two error messages about missing arguments access an argument with an
incorrect index because at these points in the code the *CurArg is not yet
incremented.

Also append line breaks to separate the messages from other notices and
warnings that could occur.
2017-09-03 10:51:46 -07:00
Leonardo Zide
bc4ba07a42 Fixed minifig hand accessories orientation. 2017-09-02 17:43:28 -07:00
leozide
f35a9ff1b6 Set GL_TEXTURE_MAX_LEVEL. 2017-09-01 17:30:02 -07:00
leozide
9e12f52bcd Load submodels inside mpd files before loading files from disk. 2017-08-29 11:11:29 -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
Leonardo Zide
8486295a02 Move parts after importing inventory. 2017-08-26 15:49:46 -07:00
Leonardo Zide
81c70f9daa Update preview when changing shading mode. Fixes #113. 2017-08-26 08:37:52 -07:00
leozide
d263ce812c Fixed loading mouse shortcuts. Fixes #107. 2017-08-25 18:21:34 -07:00
leozide
f2560c18e0 Fixed parts being considered hidden in some cases. Fixes #108. 2017-08-25 16:17:22 -07:00
leozide
4db7423f7d Added command line option to export collada. Closes #106. 2017-08-25 16:10:06 -07:00
leozide
3fc53d9d5f Added shading options. Closes #104. 2017-08-25 12:57:14 -07:00
leozide
d7b29d3800 Reduced normal welding angle to 60 degrees. 2017-08-24 16:51:45 -07:00
leozide
6ff8411366 Fixed loading subfile primitives from loose files. 2017-08-24 15:25:59 -07:00
leozide
3ebf97b251 Fixed reading parts.lst. 2017-08-24 14:36:04 -07:00
leozide
08f1e22c79 Fixed bug loading loose library files. 2017-08-22 11:41:26 -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
Leonardo Zide
7bf4a63e3d Fixed exporting parts with multiple colors in collada. 2017-08-12 08:56:56 -07:00
leozide
c6872df027 Added collada colors. 2017-08-11 19:02:26 -07:00
leozide
299f44c061 First pass COLLADA exporter. 2017-08-10 18:40:43 -07:00
Leonardo Zide
4bf4f14d4e Fixed zfar during tiled render. 2017-08-05 12:12:42 -07:00
Leonardo Zide
51afa3acde Merged TiledRender into the View class. 2017-08-05 12:02:45 -07:00
Leonardo Zide
02231b363b Support saving images larger than 2048. 2017-07-30 14:18:57 -07:00
leozide
68d9c28dc2 Fixed loading primitives from loose files. 2017-07-27 16:09:38 -07:00
leozide
b0afa61028 Removed show earlier/later from toolbar. 2017-07-27 12:41:56 -07:00
leozide
c1fe39fb72 Fixed compiler warning. 2017-07-27 12:40:52 -07:00
Leonardo Zide
cc4dbb1fc8 Linux fixes. 2017-07-27 10:02:07 -07:00
Leonardo Zide
82528a2c7a Don't uppercase part names when saving. 2017-07-27 09:21:55 -07:00
leozide
506c5ef67a Fixed gcc 4.7 error. 2017-07-26 17:56:02 -07:00
leozide
5de0644c7b Save positions with 4 digits and rotations with 6. 2017-07-26 17:34:25 -07:00
Leonardo Zide
94eb5b8ae2 Store library pieces in a map. 2017-07-23 19:35:18 -07:00
Leonardo Zide
692604ee50 Use a map for storing primitives. 2017-07-23 16:19:09 -07:00
Leonardo Zide
5cd85a1584 Preserve case of part names in files. 2017-07-22 20:54:33 -07:00
Leonardo Zide
aff1f1a69f Fixed compiler warnings. 2017-07-22 17:23:11 -07:00
leozide
b2c739dc5a Increased precision of angle constants. 2017-07-20 17:15:49 -07:00
leozide
ca755a2fba Added QDebug operators to math classes. 2017-07-19 15:31:47 -07:00