Commit graph

192 commits

Author SHA1 Message Date
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
leo
5dc511d56a Fixed steps and keyframes not saving correctly. 2015-03-24 15:12:39 +00:00
leo
35fe45ada8 Preserve file comments when saving. 2015-03-21 20:12:04 +00:00
leo
39ef058aaa Make sure pasted pieces are added at the current step or later. 2015-03-21 16:52:14 +00:00
leo
efacceee29 Fixed compiler warnings. 2015-03-18 02:25:22 +00:00
leo
96e0b46931 Show hidden pieces with a different color in the timeline. 2015-03-16 01:47:55 +00:00
leo
f8a85809e8 Fixed multiple checkpoints when using the mouse to edit. 2015-03-16 01:15:30 +00:00
leo
0f953e1f63 Fixed crash undoing a timeline change. 2015-03-16 01:10:01 +00:00
leo
03c506c667 Added unhide selected option to timeline menu. 2015-03-15 20:01:07 +00:00
leo
601efe5f35 Added insert and remove step options to the timeline context menu. 2015-03-15 19:42:11 +00:00
leo
537aa5552b Better updates for the timeline. 2015-03-14 21:09:10 +00:00
leo
c4b15d05a9 Fixed timeline update crash. 2015-03-14 19:07:07 +00:00
leo
7cb71e121c Added drag and drop to the timeline. 2015-03-08 00:27:11 +00:00
leo
635d408101 Support drawing primitives included directly by a model. 2015-02-28 20:31:57 +00:00
leo
03d9a6e3f5 Correctly read model property fields with spaces. 2015-02-23 19:33:19 +00:00
leo
4d9288c952 Support drawing triangles and lines in model files. 2015-02-23 00:50:37 +00:00
leo
7c1d5ae635 Fixed a case where it would be possible to create a model with infinite recursion. 2015-02-22 02:54:43 +00:00
leo
786bf4283b Rewrote how model names work. 2015-02-22 02:39:15 +00:00
leo
e4eb0e65d7 Fixed zoom extents and region on ortho cameras. 2015-02-15 02:24:08 +00:00
leo
141696ec8c Changed how zoom extents work. 2015-02-14 20:47:50 +00:00
leo
853f28c6c3 Changed pan tool to have the mouse follow the objects on the screen. 2015-02-08 21:05:50 +00:00
leo
c670893deb Rendering optimizations. 2015-02-08 18:54:51 +00:00
leo
beec734524 Don't read model name from MPD files. 2015-02-08 03:33:14 +00:00
leo
100245f207 Don't save model name in MPD files. 2015-02-08 03:29:42 +00:00
leo
a31963f1bd Fixed Minifig Wizard crashes related to buffer operations without a context. 2015-02-07 23:02:20 +00:00
leo
162dc42800 Fixed loading mpds with files that end in dat. 2015-02-06 22:40:45 +00:00
leo
93363c1069 Fixed loading mpds with spaces in model names. 2015-02-04 05:24:35 +00:00
leo
bce59e8873 Message box cleanup. 2015-01-30 16:30:13 +00:00
leo
c5bfc9c48d Correctly set the center of rotation for single pieces. 2015-01-24 02:12:24 +00:00
leo
06f11badde Use the piece position for rotation if only one piece is selected. 2015-01-23 18:45:58 +00:00
leo
257672a64f Changed startup order to fix saving images from the command line. 2015-01-21 22:41:53 +00:00
leo
b835a913e4 OSX fixes. 2015-01-18 07:20:41 +00:00
leo
07062693a8 Moved relative snap option to the toolbar. 2015-01-18 05:36:14 +00:00
leo
dfa7396b29 Changed the way the transform entries work to match the mouse and keyboard. 2015-01-18 04:59:02 +00:00
leo
e1e2fcc26a Fixed wrong mouse cursor when nothing is selected. 2015-01-18 04:41:06 +00:00
leo
876a2d9bcc Fixed relative rotation axis. 2015-01-18 04:26:20 +00:00
leo
a7d83bf357 Fixed rotation of multiple pieces when nothing is focused. 2015-01-17 23:44:53 +00:00
leo
e358dc7ddd Select pasted pieces. 2015-01-17 20:17:35 +00:00
leo
6ad512d012 Only update the piece info for a model after its project is set active. 2015-01-17 18:29:10 +00:00
leo
88e935ccd8 Fixed reset cameras option. 2015-01-16 02:07:31 +00:00
leo
af37e7008d Removed support for naming pieces in a model. 2015-01-15 02:21:10 +00:00
leo
ac06b213f2 Update version number. 2015-01-12 05:02:50 +00:00
leo
7db0e7f21e Fixed html export. 2015-01-12 04:49:30 +00:00
leo
e78334a671 Removed debug code. 2015-01-11 02:05:20 +00:00
leo
12d0094806 Store piece transformations as matrices to allow scaling. 2015-01-10 20:30:37 +00:00
leo
b6f8e8e651 Reuse same mesh for all placeholder pieces. 2015-01-08 04:50:38 +00:00
leo
06496f1cf0 Remove temporary pieces from the library after unloading a project. 2015-01-07 16:52:42 +00:00
leo
16415b136a Show last step after loading a model. 2015-01-07 15:02:27 +00:00
leo
2fe1ed273a Workaround for a bug in QTextStream::pos() that was causing some mpd files to fail to load. 2015-01-06 15:38:51 +00:00
leo
2baabd03f1 Fixed wrong case in partids for submodels. 2015-01-03 01:00:30 +00:00
leo
28be739db0 Fixed bounding box calculation of nested submodels. 2015-01-02 16:44:01 +00:00
leo
c6b27f2d05 Fixed loading mpds that have files with spaces in their names. 2015-01-02 12:05:49 +00:00
leo
7546ff0b54 Fixed crash drawing models in the piece preview. 2015-01-02 11:58:14 +00:00