Commit graph

244 commits

Author SHA1 Message Date
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
2071d6810a Don't require a known extension when saving images from the command line. 2017-11-24 11:48:46 -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
3a055a4724 Only show used parts in search dialog. 2017-11-19 14:12:27 -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
leozide
fd19af8e73 Preserve focus when duplicating pieces. Fixes #130. 2017-11-03 11:38:47 -07:00
leozide
ecdcd50239 Updated inventory import to use the newly added LDraw ID. 2017-09-15 14:52:05 -07:00
Leonardo Zide
8486295a02 Move parts after importing inventory. 2017-08-26 15:49:46 -07:00
leozide
3fc53d9d5f Added shading options. Closes #104. 2017-08-25 12:57:14 -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
02231b363b Support saving images larger than 2048. 2017-07-30 14:18:57 -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
Leonardo Zide
94eb5b8ae2 Store library pieces in a map. 2017-07-23 19:35:18 -07:00
Leonardo Zide
5cd85a1584 Preserve case of part names in files. 2017-07-22 20:54:33 -07:00
Leonardo Zide
3d7bfdafb0 New LDD importer. 2017-07-08 09:29:35 -07:00
Leonardo Zide
77a70758f8 Fixed static analysis warnings. 2017-07-02 20:12:17 -07:00
Leonardo Zide
bca9b205af Support loading textures from the same folder of the model being loaded. 2017-07-01 17:12:09 -07:00
Leonardo Zide
f0eb8bde96 Added LDD importer. Closes #29. 2017-06-25 18:20:34 -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
82a4afb7a9 OpenGL ES cleanup. 2017-04-26 22:24:54 -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
leozide
0381a0c74f Static analysis fixes. 2017-04-20 17:53:42 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Leonardo Zide
b9726a2a99 Reorganized scene and context classes. 2017-04-01 16:53:54 -07:00
Leonardo Zide
49a88e1ab4 Fixed synth parts adding the wrong mesh to the scene when in a submodel. Fixes #42. 2017-03-26 18:28:31 -07:00
Leonardo Zide
7bd3abf6b4 Fixed issues splitting views. 2017-03-26 10:28:58 -07:00
Leonardo Zide
57b8732ed6 Context state cleanup. 2017-03-25 12:29:28 -07:00
leozide
eb7a8a86de Removed SetTextureMode. 2017-03-24 18:36:58 -07:00
Leonardo Zide
c85f0f7eea Disable normals for unlit passes. 2017-03-24 09:34:53 -07:00
Leonardo Zide
9b933b6c57 Fixed comments in saved files being moved in some cases. Fixes #35, #36. 2017-03-18 17:42:34 -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
cf65201095 Added Duplicate Piece action. 2017-03-08 15:49:57 -08:00
leozide
f7aa4890ee Remove empty steps when moving pieces to a new model. 2017-03-03 12:14:32 -08:00
leozide
1794e8c9c2 Fixed invalid bounding box when no pieces are visible. 2017-03-03 12:07:04 -08: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
641f4803e2 Added select by color dialog. Closes #18. 2017-02-16 22:57:11 -08:00
Leonardo Zide
6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00
Leonardo Zide
6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -08:00
Leonardo Zide
0f2e808477 Fixed printing. 2017-02-11 09:46:21 -08:00
Leonardo Zide
e22d127660 String cleanup. 2017-02-07 09:35:11 -08:00
Leonardo Zide
e7fe26d2a4 Stop caching the GL viewport since OSX changes it when making a context current. 2017-01-29 19:31:30 -08:00
Leonardo Zide
8c318cbdf1 Multithreaded piece loading. 2017-01-22 19:28:05 -08:00
Leonardo
fcf4b24d84 Fixed crash pasting. 2016-12-31 06:36:49 -08:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
Leonardo Zide
eb1bc1cd31 First pass of the new parts list widget. 2016-12-16 09:14:19 -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
1cacf33e4b Fixed file loading. 2016-12-04 18:12:39 -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
a74e51cd04 Fixed line endings. 2016-10-05 14:28:52 -07:00
Leonardo Zide
5d86d5ac98 Fixed reading loose mpd files referenced by another file. 2016-09-25 17:15:30 -07: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
d8191b0758 Added option to control which models to export to HTML. 2016-05-30 22:41:03 +00:00
leo
1e8adcd880 Fixed HTML export of models with only 1 step. 2016-05-29 16:42:47 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
1741a713d2 Save and load control points. 2016-05-02 05:33:58 +00:00
leo
a0db9ce210 Added synth support for shock absorbers. 2016-05-01 00:20:37 +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
8af94f050f Added overlay to change the control point scale. 2016-03-12 00:05:49 +00:00
leo
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
b5233f714c Added options to add and remove control points. 2016-03-03 00:04:49 +00:00
leo
1cd4a8cee0 Added support for flexible technic ribbed hoses. 2016-02-29 20:13:54 +00:00
leo
510d190483 Support dynamic piece meshes. 2016-02-19 17:53:54 +00:00
leo
55e7cd4bab Warning fixes for VS 2015. 2016-02-16 23:11:52 +00:00
leo
55352082d9 Fixed gcc warnings. 2016-01-25 19:57:27 +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
02551e6d21 Fixed basic pivot rotation. 2015-12-16 00:28:40 +00:00
leo
6a9d1eb585 Use Matrix33 for relative rotations. 2015-12-15 19:47:52 +00:00
leo
dfc94a42e5 Rotate pivot points. 2015-12-15 01:57:22 +00:00
leo
a035bf7ed1 Move pivot point with the mouse. 2015-12-14 18:01:17 +00:00
leo
5e543c43a7 Initial work for control points in pieces. 2015-12-11 01:46:30 +00:00
leo
64adbc6efc Added option to view the first selected submodel. 2015-12-04 22:41:08 +00:00
leo
d105c05184 Added option to create a new model from the currently selected pieces. 2015-12-02 01:16:12 +00:00
leo
a95cbfa8c0 Added option to inline models. 2015-12-01 23:31:28 +00:00
leo
0ec6269972 Don't release and reload meshes when using undo. 2015-11-16 02:41:16 +00:00
leo
520594fd12 Use QString for group names. 2015-10-21 15:03:45 +00:00
leo
b53debf017 Changed the library cache to use loose files. 2015-07-22 04:00:47 +00:00
leo
4e0d23e3df Update timeline when piece color or type changes. 2015-07-05 01:04:27 +00:00
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
aa861cd036 Use a single vertex buffer for all pieces. 2015-04-26 18:14:33 +00:00
leo
2063514f2f Added snap toggle back. 2015-04-24 22:11:50 +00:00
leo
ba86509804 Removed more places where the vertex pointer was getting set directly. 2015-04-16 00:23:25 +00:00
leo
42151522fc Added keyboard shortcuts to the Model List Dialog. 2015-04-12 06:44:38 +00:00
leo
85cb751f3e Fixed spaces being added to model properties fields. 2015-04-11 17:26:17 +00:00
leo
9a29c89bfb Fixed cases where comments around step statements could get out of order. 2015-03-31 22:57:15 +00:00
leo
c926da827c Don't set the current user as the author when loading a model if the file doesn't specify one. 2015-03-25 23:07:33 +00:00