Commit graph

388 commits

Author SHA1 Message Date
Leonardo Zide
4493c3f6f2 Array cleanup. 2019-07-04 17:06:26 -07:00
Leonardo Zide
3d9395e175 Avoid adding the project file to the file watcher multiple times. 2019-07-04 15:35:52 -07:00
Leonardo Zide
1ae3cfa8b0 Always list part quantity in BrickLink export. 2019-06-05 14:37:00 -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
3070d25663 Support exporting flexible parts. Fixes #157. 2019-05-26 11:08:47 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
590422a30a Array cleanup. 2019-03-17 13:27:57 -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é
e8949c413f Update models after submodel editing. Fixes #321 and #322 2019-03-12 12:13:59 -07:00
Leonardo Zide
f99e6d7583 Fixed warnings. 2019-03-11 18:29:19 -07:00
Leonardo Zide
d084d11b5a Show reason a file couldn't be loaded. 2019-03-10 13:41:21 -07: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
322a070a48 Fixed POV export when a part is missing from the library. Fixes #315. 2019-03-06 09:08:51 -08:00
Leonardo Zide
8f04ccbec7 Fixed small leak merging files. Fixes #276. 2018-10-31 16:16:45 -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
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
718b31a2bd Fixed selection tinting when editing submodels. 2018-04-07 11:45:00 -07:00
Leonardo Zide
b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide
930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
Leonardo Zide
5ac11506b0 Fixed parts inside mpd files not drawing. Fixes #178. 2018-02-06 22:07:35 -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
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
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
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
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
Leonardo Zide
76d11fe474 Better default POV-Ray lights. 2017-12-09 14:28:11 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide
3a055a4724 Only show used parts in search dialog. 2017-11-19 14:12:27 -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
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
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
Leonardo Zide
f6e4c054a7 Export normals to pov and obj. Fixes #117 . 2017-09-09 11:33:46 -07:00
leozide
9e12f52bcd Load submodels inside mpd files before loading files from disk. 2017-08-29 11:11:29 -07:00
Leonardo Zide
8486295a02 Move parts after importing inventory. 2017-08-26 15:49:46 -07:00
leozide
4db7423f7d Added command line option to export collada. Closes #106. 2017-08-25 16:10:06 -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
82528a2c7a Don't uppercase part names when saving. 2017-07-27 09:21:55 -07:00
Leonardo Zide
94eb5b8ae2 Store library pieces in a map. 2017-07-23 19:35:18 -07:00
Leonardo Zide
bb5a703f51 Replaced HTML parts list table with image. 2017-07-02 16:10:30 -07:00
Leonardo Zide
81e260a6f9 PLI improvements. 2017-06-30 08:22:42 -07:00
leozide
bd33085ca3 Fixed Qt4. 2017-06-29 11:12:37 -07:00
Leonardo Zide
de37b8abf9 Initial parts list image implementation. 2017-06-29 10:02:00 -07:00
Leonardo Zide
f0eb8bde96 Added LDD importer. Closes #29. 2017-06-25 18:20:34 -07:00
Leonardo Zide
f024007157 Keep camera name as a c string for now. 2017-06-20 21:43:39 -07:00
Alistair Buxton
240c8f68a5 Add command line options to set submodel and camera. 2017-06-20 21:25:27 -07:00
Leonardo Zide
05104162e9 Only highlight new pieces when the option is enabled. 2017-06-20 08:20:59 -07:00
Alistair Buxton
2de2e2c187 Highlight parts added in the current step. 2017-06-20 07:47:31 -07:00
Leonardo Zide
05e3d7846c Update file functions to support multibyte strings. Fixes #46. 2017-05-29 13:32:45 -07:00
leozide
8da318037d Removed fog options. 2017-04-21 14:17:03 -07:00
leo
f03ddb634e Compile fix. 2017-04-15 16:25:47 -07:00
Leonardo Zide
f2be79e4ed Changes to get older gcc versions working. 2017-04-15 15:54:17 -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
b9726a2a99 Reorganized scene and context classes. 2017-04-01 16:53:54 -07:00
Leonardo Zide
57b8732ed6 Context state cleanup. 2017-03-25 12:29:28 -07:00
leozide
d6efc97089 Removed SetLightingMode. 2017-03-17 15:53:26 -07:00
Leonardo Zide
acd5a485f0 Added a decal material to fix the texmap extension. 2017-03-12 13:51:14 -07: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
dd223856c9 Use alpha from color when exporting obj. 2017-02-15 09:01:38 -08:00
doyousketch2
d7a21c6265 Update project.cpp
Oh yeah, I didn't end up needing to use string compare, because I found the (Color->Translucent) property.
2017-02-14 19:57:41 -05:00
doyousketch2
199b56d5ac Include transparency values 2017-02-14 19:48:19 -05:00
Leonardo Zide
6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -08:00
leozide
045d05eb67 Added category with parts in the current model. 2017-01-26 19:02:42 -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
Leonardo Zide
b2b143af99 Fixed incorrect camera position when saving images from the command line. 2016-12-07 21:57:53 -08:00
Leonardo Zide
ccadcf7e1a Fixed file name formatting when saving an image from the command line. 2016-12-07 09:08:23 -08:00
Leonardo Zide
dcfccd8eeb Rewrote how loose model files are loaded. 2016-11-25 17:12:19 -08:00
Leonardo
70463b9d8e Removed access to library internal array. 2016-11-17 12:10:33 -08:00
Leonardo
d8f14c1937 Removed code accessing library internals. 2016-11-16 14:53:41 -08:00
Leonardo Zide
5d86d5ac98 Fixed reading loose mpd files referenced by another file. 2016-09-25 17:15:30 -07:00
Leonardo
df61ddbfc7 Better file type detection when loading files. 2016-09-23 12:48:29 -07:00
Leonardo
dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
Leonardo
a90cd13697 Fixed extension check. 2016-09-17 13:21:29 -07:00
leo
2f0cf40af4 Enforce file extension in submodels. 2016-09-08 22:34:51 +00:00
leo
6e602174c0 Experimental conditional line support. 2016-08-22 01:11:32 +00:00
leo
6d483252c5 Clean up of some old dialog code. 2016-08-01 03:44:15 +00:00
leo
d8191b0758 Added option to control which models to export to HTML. 2016-05-30 22:41:03 +00:00
leo
61006184d1 Search the current path for submodels when opening files. 2016-05-28 17:35:13 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
9278a6fe1e Warning fixes. 2016-03-06 20:19:02 +00:00