Commit graph

772 commits

Author SHA1 Message Date
Leonardo Zide
b2cb923e28 Fixed shaders on desktop GL. 2017-02-11 12:43:47 -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
cfdfe30b40 Replaced GL_QUAD calls. 2017-02-11 08:30:57 -08:00
leozide
506e91a16c Added extra large icons option. Fixes #17. 2017-02-08 17:47:30 -08:00
leozide
4b9cd6a038 Removed GetFileList. 2017-02-08 17:41:14 -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
48d252bfb3 Set categories for parts without one. 2017-02-04 19:59:02 -08:00
Leonardo Zide
57eded0673 Updated default colors to 2016-12-28. 2017-02-04 19:37:40 -08:00
Leonardo Zide
0dabe0d435 Added SetCurrentStep and MoveSelection to Timeline context menu. 2017-02-04 18:40:46 -08:00
Leonardo Zide
e3bb498741 Added option to lock the preview color. 2017-02-04 13:14:41 -08:00
Leonardo Zide
0f89bc8233 Allow toolbars to be docked anywhere. 2017-02-04 11:34:32 -08:00
Leonardo Zide
d34f5050dd Don't allow multiple lines of text for the preview icons. 2017-02-03 00:31:37 -08:00
Leonardo Zide
e766f7892e Added 'All Parts' category. 2017-01-31 21:12:30 -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
leozide
32f2f3fac7 More parts list options. 2017-01-27 18:20:44 -08:00
leozide
045d05eb67 Added category with parts in the current model. 2017-01-26 19:02:42 -08:00
leozide
ea5c2512a7 Fixed crash. 2017-01-26 18:47:59 -08:00
Leonardo Zide
ec169c8263 Fixed race condition drawing previews. 2017-01-24 19:49:49 -08:00
Leonardo Zide
ca1505f770 Change the locale at startup only. 2017-01-23 20:46:52 -08:00
Leonardo Zide
f4d47d1631 Fixed incorrect piece loading logic. 2017-01-23 20:26:57 -08:00
leo
b03e820e3e More Qt4 fixes. 2017-01-22 22:44:54 -08:00
Leonardo Zide
ff18c042f1 Fix Qt4 error. 2017-01-22 21:22:46 -08:00
Leonardo Zide
76279c6f5c Correct way to include QtConcurrent. 2017-01-22 20:50:43 -08:00
Leonardo Zide
8c318cbdf1 Multithreaded piece loading. 2017-01-22 19:28:05 -08:00
leozide
e84fef5c73 Fixed Qt4 errors. 2017-01-10 17:48:05 -08:00
Leonardo
31cf6456b3 Process events between preview updates. 2017-01-04 06:45:01 -08:00
Leonardo
fcf4b24d84 Fixed crash pasting. 2016-12-31 06:36:49 -08:00
Leonardo
38be0becb3 Added frame around color widget. 2016-12-29 07:37:24 -08:00
Leonardo
ee49480334 Draw preview using the current color. 2016-12-29 07:28:53 -08:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
Leonardo Zide
0f0a55a5df Fixed cache checksum when there's no unofficial library archive. 2016-12-21 16:49:52 -08:00
leozide
b5e61f2c26 Added option to choose the size of the parts icons. 2016-12-20 14:46:12 -08:00
leozide
8ed7e0d6c8 Removed old parts tree. 2016-12-20 14:11:19 -08:00
leozide
d8bea07834 Fixed compiling with Qt4. 2016-12-19 14:23:26 -08:00
Leonardo Zide
4819d42610 Added models to new parts list. 2016-12-18 18:53:25 -08:00
Leonardo
1ef60b8ddf Improved part search filter. 2016-12-16 12:52:36 -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
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
ccadcf7e1a Fixed file name formatting when saving an image from the command line. 2016-12-07 09:08:23 -08:00
Leonardo Zide
dedc429685 Fixed parts list showing parts with invalid colors. 2016-12-04 18:34:12 -08:00
Leonardo Zide
1cacf33e4b Fixed file loading. 2016-12-04 18:12:39 -08:00
Leonardo Zide
8152f99ec4 Fixed compiler warnings. 2016-12-01 23:09:14 -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
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
ed37143a6b Better piece insert position calculation. 2016-11-06 16:24:44 -08:00
Leonardo Zide
1070ea664f Remember last folder used to open a project. 2016-10-15 13:00:26 -07:00
Leonardo Zide
7e7e562d45 Open files when they are dropped on the main window. 2016-10-15 12:13:31 -07:00
Leonardo
ed0e3a252f Fixed install icon. 2016-10-05 14:37:08 -07: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
Leonardo Zide
cde1334e0b Fixed bounding box of models loaded from loose files. 2016-09-25 13:15:43 -07:00
Leonardo
df61ddbfc7 Better file type detection when loading files. 2016-09-23 12:48:29 -07:00
Leonardo
60712b6bd1 Fixed translucent triangles not drawing. 2016-09-22 08:06:41 -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
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
leo
acfa6784a7 Fixed more instances of unlocalized decimal separators. 2016-06-13 23:57:31 +00:00
leo
df0e7cc221 Made shortcuts translatable. 2016-06-12 23:05:26 +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
7ebcc16c41 Optimizations for loading very large models. 2016-05-29 02:46:34 +00:00
leo
9b2efa6f88 Search for files in the current model folder. 2016-05-28 20:30:23 +00:00
leo
73c7607ca6 Fixed loading pieces with more than 64k verts. 2016-05-28 18:18:00 +00:00
leo
61006184d1 Search the current path for submodels when opening files. 2016-05-28 17:35:13 +00:00
leo
fd225d33d6 Fixed loading flex pieces without control points. 2016-05-21 01:21:21 +00:00
leo
8434c26087 Fixed context menu not showing in some cases. 2016-05-19 21:16:31 +00:00
leo
2e276f26df Better handling of customized mouse shortcuts. 2016-05-09 01:59:10 +00:00
leo
f24b0923bb Crash fix. 2016-05-08 20:19:23 +00:00
leo
65b8880bf8 OSX fixes. 2016-05-08 02:16:52 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
4d9113c1d0 Fixed gcc warnings. 2016-05-02 18:22:38 +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
638fd10beb Changed mouse shortcuts format to a string list. 2016-04-30 19:40:46 +00:00
leo
26f9859a8e Added mouse preferences tab. 2016-04-25 05:26:34 +00:00
leo
5b0bf780cc Configurable mouse shortcuts. 2016-04-23 00:17:33 +00:00
leo
9c8a602a09 Fixed accessing const arrays as non-const. 2016-04-19 18:37:50 +00:00
leo
6547969d24 Fixed a few rotation bugs in flexible objects. 2016-04-19 16:30:29 +00:00
leo
8de6f06113 Removed debug color. 2016-04-16 20:49:14 +00:00
leo
59e8583ee4 Optimized flexible axle generation. 2016-04-16 20:35:16 +00:00
leo
a24ebaaab9 Better string mesh generation. 2016-04-11 15:45:08 +00:00
leo
92882ae13e Fixed warnings. 2016-04-05 21:47:01 +00:00
leo
07d29d0fc5 Added support for flexible braided strings. 2016-04-04 05:11:29 +00:00
leo
3beec440a2 Fixed control point overlay position. 2016-04-02 23:11:39 +00:00
leo
2842cccf53 Use the centroid of the selected pieces when rotating pieces. 2016-03-13 20:07:28 +00:00
leo
1902dff957 Made control points translucent. 2016-03-12 00:38:02 +00:00
leo
8af94f050f Added overlay to change the control point scale. 2016-03-12 00:05:49 +00:00
leo
efe7dcba35 Force views to recalculate their sizes when they are created. 2016-03-08 00:30:00 +00:00
leo
c47856e10c Fixed view split. 2016-03-07 18:30:25 +00:00
leo
9278a6fe1e Warning fixes. 2016-03-06 20:19:02 +00:00
leo
836a508224 Fixes for qt4. 2016-03-06 20:07:39 +00:00
leo
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
1d31a5b262 Improved mesh generation for flexible axles. 2016-03-04 23:53:08 +00:00
leo
52c97dd81a Added flexible axle support. 2016-03-04 03:18:23 +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
c4689812a2 Fixed last model entry not being added to the menu. 2016-02-25 01:44:12 +00:00
leo
e377928045 Fixed unhandled actions. 2016-02-21 06:57:36 +00:00
leo
d39adad459 Increased number of entries in the model menu. 2016-02-20 19:39:42 +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
67de90982b Cleanup. 2015-12-22 22:47:22 +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
932053b803 Fixed loading pivots. 2015-12-17 00:41:10 +00:00
leo
d7febf9a7f Save pivot point. 2015-12-16 22:36:42 +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
ecef3ce47d Fixed texmap extension. 2015-12-05 19:56:25 +00:00
leo
64adbc6efc Added option to view the first selected submodel. 2015-12-04 22:41:08 +00:00
leo
1f47b89d57 Added more options to context menu. 2015-12-04 20:32:10 +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
526e35d2aa Translated color group names. 2015-11-30 19:32:33 +00:00
leo
8fab83f2f0 Faster timeline selection updates. 2015-11-28 22:12:47 +00:00
leo
0ec6269972 Don't release and reload meshes when using undo. 2015-11-16 02:41:16 +00:00
leo
e2818fc16a Renamed platform defines to something more readable. 2015-11-14 00:18:05 +00:00
leo
f4400378d2 Fixed OSX compiler errors. 2015-11-13 17:50:36 +00:00
leo
41746f2b5b Updated version number. 2015-10-24 18:45:07 +00:00
leo
9d0fc3840e Updated minifig settings. 2015-10-22 14:59:42 +00:00
leo
520594fd12 Use QString for group names. 2015-10-21 15:03:45 +00:00
leo
e2be7ffc7c New icons. 2015-10-03 18:57:59 +00:00
leo
d00a4aa013 Fixed gcc errors. 2015-09-27 18:25:35 +00:00
leo
1feafebb54 Keyboard shortcuts cleanup. 2015-09-27 07:02:57 +00:00
leo
98385748ac Fixed string error saving shortcuts. 2015-09-25 16:37:28 +00:00
leo
5149ef3311 Fixed menu items not getting translated. 2015-09-25 06:03:30 +00:00
leo
55f87378cd Mouse buttons 4 and 5 now work to navigate steps. 2015-09-06 19:52:17 +00:00
leo
df28f02b82 Fixed POV render command line. 2015-08-08 20:55:10 +00:00
leo
2e8f566829 Fixed timeline not deleting some items correctly. 2015-07-29 15:03:50 +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
f5e9591be7 Fixed the timeline not updating correctly when using Show Earlier. 2015-07-04 21:53:59 +00:00
leo
e3b5d9395d Fixed crash with placeholder parts. 2015-07-04 21:52:09 +00:00
leo
8ed2c7bf0f Better grid texture. 2015-05-25 23:26:03 +00:00
leo
6b86d13042 Fixed rotate overlay drawing. 2015-05-25 18:02:57 +00:00
leo
f001916a05 Fixed camera name not drawing correctly. 2015-05-25 17:36:22 +00:00
leo
307ed62ceb Added mesh LOD. 2015-05-24 04:36:25 +00:00
leo
77424ccf16 Fixed wrong GLSL qualifier. 2015-05-17 16:23:14 +00:00
leo
b821a76b17 Compile fixes. 2015-05-17 06:47:10 +00:00
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
b4ba0ef6b2 Fixed compiler error. 2015-05-15 21:45:53 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
77e103264d Set colors through the context. 2015-05-04 00:51:41 +00:00
leo
9cf0f11445 Clear index buffer after destroying it. 2015-04-30 22:39:27 +00:00
leo
170b7fc775 Changed the vertex and index buffer types to a class. 2015-04-30 22:35:40 +00:00
leo
20945362e5 Create a static buffer for the move overlay. 2015-04-27 00:47:31 +00:00
leo
a880056013 Add model meshes to the library vbo. 2015-04-26 18:41:16 +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
5afec8b702 Rewrote move overlay drawing. 2015-04-20 02:09:18 +00:00
leo
d59dfe9444 Rewrote camera and light drawing. 2015-04-19 01:10:01 +00:00
leo
ba86509804 Removed more places where the vertex pointer was getting set directly. 2015-04-16 00:23:25 +00:00
leo
4ad0cfecf2 Added color icons to the timeline. 2015-04-15 18:49:17 +00:00
leo
81fc732158 Use a vertex buffer for the grid. 2015-04-14 04:14:10 +00:00
leo
0e0d352e6a Fixed crash on startup if a toolbar was floating when the application closed the previous time. 2015-04-13 02:33:48 +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
c0167e2dd0 Fixed POV-Ray export file browser to accept new files. 2015-04-06 23:23:24 +00:00
leo
3081ed2df8 Center axis labels. 2015-04-06 00:36:27 +00:00
leo
e7b436e85f Compile fix. 2015-04-05 00:31:14 +00:00
leo
f706b37481 Compile fix. 2015-04-04 23:59:38 +00:00
leo
86f89472ac OSX compile fixes. 2015-04-04 23:52:20 +00:00
leo
d0c669fa8a Updated version number. 2015-04-04 23:25:39 +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
344f1756a3 Show a default file name in the export dialogs. 2015-03-27 20:39:43 +00:00
leo
89df6b58c2 Added command line option to export 3ds files. 2015-03-27 20:20:12 +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
c9839c945e Fixed empty model being added when loading some MPD files. 2015-03-25 15:33:58 +00:00
leo
5dc511d56a Fixed steps and keyframes not saving correctly. 2015-03-24 15:12:39 +00:00
leo
01e67cbd88 Fixed camera up vector drawing. 2015-03-23 00:37:12 +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
406182db5d Fixed option to disable drawing lines. 2015-03-18 02:30:54 +00:00
leo
efacceee29 Fixed compiler warnings. 2015-03-18 02:25:22 +00:00
leo
be59eb624f Fixed line width not being set for edge lines. 2015-03-17 04:24:53 +00:00
leo
b6ef506997 Added option to open a model from the context menu. 2015-03-17 04:18:28 +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