Commit graph

1018 commits

Author SHA1 Message Date
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
leo
9446e2cde7 Made the timeline selection match the current model selection. 2015-03-13 05:26:01 +00:00
leo
7cb71e121c Added drag and drop to the timeline. 2015-03-08 00:27:11 +00:00
leo
958a7fa383 Added the initial version of the timeline widget. 2015-03-04 20:37:09 +00:00
leo
7440111b64 Allow different cameras for each submodel. 2015-03-01 23:17:50 +00:00
leo
635d408101 Support drawing primitives included directly by a model. 2015-02-28 20:31:57 +00:00
leo
a7da5aa79f Fixed case where the view matrix was being changed directly. 2015-02-28 07:10:51 +00:00
leo
168ca86c2e Update the bounding box of submodels after loading. 2015-02-23 20:25:53 +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
ced7e21d38 Flag initial view as active. 2015-02-13 22:16:48 +00:00
leo
c0759c226d Fixed inverted zoom shortcuts. 2015-02-13 05:35:57 +00:00
leo
b361e9069f Update model menu after merging another project. 2015-02-09 01:36:25 +00:00
leo
f4e14b6394 Fixed missing uppercase when update a model's piece. 2015-02-09 01:33:28 +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
b5ad5dba15 Fixed crash with export functions. 2015-02-08 00:05:07 +00:00
leo
7b34dd1fa7 Fixed refcount for pieces. 2015-02-07 23:20:15 +00:00
leo
a31963f1bd Fixed Minifig Wizard crashes related to buffer operations without a context. 2015-02-07 23:02:20 +00:00
leo
49a49125c2 Enabled GL debug messages. 2015-02-07 22:01:18 +00:00
leo
7b52f7ba40 Matched mouse wheel speed with previous versions. 2015-02-07 07:16:15 +00:00
leo
162dc42800 Fixed loading mpds with files that end in dat. 2015-02-06 22:40:45 +00:00
leo
980d0c4a03 Removed category update before the window is created. 2015-02-05 22:55:09 +00:00
leo
93363c1069 Fixed loading mpds with spaces in model names. 2015-02-04 05:24:35 +00:00
leo
4b82e75f5b Moved more file name variables to QString. 2015-02-02 06:00:42 +00:00
leo
c6aad2c571 Fixed compiler error. 2015-02-02 06:00:21 +00:00
leo
22dd34dfb3 Fixes for Qt5. 2015-02-01 02:33:42 +00:00
leo
e456b05ebf String cleanup. 2015-01-31 21:44:57 +00:00
leo
df7afb956a More Qt cleanup. 2015-01-31 20:38:53 +00:00
leo
bf2457594e Merged image and profile source files. 2015-01-31 20:19:03 +00:00
leo
bce59e8873 Message box cleanup. 2015-01-30 16:30:13 +00:00
leo
21d622bd59 Merged main window classes. 2015-01-25 23:04:39 +00:00
leo
c63cb59fd6 Removed base window class. 2015-01-25 01:34:13 +00:00
leo
c5bfc9c48d Correctly set the center of rotation for single pieces. 2015-01-24 02:12:24 +00:00
leo
1f1c93c28b Create window widget after the library is loaded. 2015-01-23 23:18:32 +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
f0209fa021 Added Wavefront export command line option. 2015-01-23 01:58:33 +00:00
leo
257672a64f Changed startup order to fix saving images from the command line. 2015-01-21 22:41:53 +00:00
leo
817ffce7ef Avoid using floating point notation in the properties pane. 2015-01-19 23:48:46 +00:00
leo
8c990e7fb7 Updated minifig settings. 2015-01-18 08:00:35 +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
cc36ecd5a1 Removed unused focus command. 2015-01-17 18:36:09 +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
a9fb816839 Fixed wrong initial color list selection. 2015-01-17 02:02:30 +00:00
leo
3d79dbd8cc Fixed crash trying to update simple cameras. 2015-01-17 01:47:36 +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
474c9058ba Fixed double dot on file names when saving images. 2015-01-14 22:38:07 +00:00
leo
7a49635ea8 Fixed wrong colors in the wavefront exporter. 2015-01-14 16:41:32 +00:00
leo
77683ccfa8 Removed group separator being added to numbers when saving files. 2015-01-12 16:01:01 +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
1de2bffb73 Fixed valgrind errors. 2015-01-08 05:40:22 +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
b1ed33ac3f Changed parts search to be just a simple substring search. 2015-01-06 15:17:29 +00:00
leo
7d30c9bc88 Fixed cases where a model wasn't creating its piece. 2015-01-05 22:44:05 +00:00
leo
5e69e680c6 Prevent models and placeholder parts from poluting the cache. 2015-01-04 18:59:02 +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
b537f4c9a1 Fixed crash dragging models from the parts tree. 2015-01-02 16:21:07 +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
leo
6f3694fb89 Fixed uninitialized grid size in some cases. 2015-01-02 01:07:41 +00:00
leo
343ed3a1fd Moved Properties to Model menu. 2014-12-31 17:05:23 +00:00
leo
e383eed986 Fixed loading files from the command line. 2014-12-31 16:38:30 +00:00
leo
4c74b6ecf4 Fixed bounding box calculation of submodels. 2014-12-31 16:15:51 +00:00
leo
03303cd06e Zoom extents after loading a file. 2014-12-30 23:45:27 +00:00
leo
98aa121dec Correctly draw selection box outline of submodels. 2014-12-30 16:56:13 +00:00
leo
d7396b4edb Fixed export functions. 2014-12-30 16:30:12 +00:00
leo
e1e9a022ca Fixed saving mpd files. 2014-12-26 17:09:11 +00:00
leo
0aae5d339f Fixed mouse selection of submodels. 2014-12-26 15:44:46 +00:00
leo
7716e0ae37 Always use last step when drawing models that aren't current. 2014-12-25 15:25:50 +00:00
leo
788f0bf9e4 Added support for drawing submodels. 2014-12-24 15:52:52 +00:00
leo
ffc58f554c Fixed merge. 2014-12-23 17:02:23 +00:00
leo
b3d8fafeb4 Fixed copy and paste. 2014-12-15 23:55:17 +00:00
leo
b20d52e2f9 Added model list dialog. 2014-12-12 23:42:09 +00:00
leo
5037897261 Added model menu. 2014-12-09 23:56:29 +00:00
leo
1b1b14b9b2 Fixed bug entering new file names when saving. 2014-12-08 19:30:53 +00:00
leo
493ad442b2 Finished separating model from project. 2014-12-08 07:32:39 +00:00
leo
dbe7f759ed Move command handling to main window. 2014-12-04 01:47:28 +00:00
leo
9ebccc4a19 Moved last remaining functions out of project. 2014-11-30 17:53:09 +00:00
leo
d4ab2e9f90 More cleanup. 2014-11-29 02:55:58 +00:00
leo
deabf0524a Moved more functionality out of the project. 2014-11-25 00:51:34 +00:00
leo
28a030dd9a Fixed camera and light drawing. 2014-11-24 00:43:13 +00:00
leo
a63743c73f Reorganized drawing functions. 2014-11-23 23:48:56 +00:00
leo
848224bf3b Reorganized group functions. 2014-11-10 00:06:11 +00:00
leo
477cf69977 Reorganized zoom functions. 2014-11-08 01:05:17 +00:00
leo
c7ab540117 Small cleanup. 2014-10-24 00:41:19 +00:00
leo
5834587204 Support gradient and texture backgrounds in the preview widget. 2014-10-23 22:03:50 +00:00
leo
55e7cad5e1 Rewrote HTML export. 2014-10-13 03:43:33 +00:00
leo
50a018f1a7 File load cleanup. 2014-10-12 17:34:18 +00:00
leo
ebd7c4be5d More descriptive error message when failing to save images. 2014-10-12 02:30:34 +00:00
leo
d6ceb6bfdc Simplified the Save Image Dialog. 2014-10-11 23:26:23 +00:00
leo
f9b0cbbc05 Moved export functions to model. 2014-10-10 23:53:08 +00:00
leo
a6a69b7661 Reuse piece bounding box function to avoid duplication. 2014-10-10 01:25:31 +00:00
leo
6684abf96a More project cleanup. 2014-10-07 23:02:52 +00:00
leo
56b09b03b0 Moved snap functions to project. 2014-10-05 05:42:38 +00:00
leo
2ca5665235 Moved mouse handling to the model. 2014-10-05 05:21:51 +00:00
leo
d1f1401ca3 Moved search out of the project. 2014-09-21 01:31:01 +00:00
leo
641a476726 Made menus translatable. 2014-09-17 22:17:42 +00:00
leo
564ef5b82c Translation fixes. 2014-09-16 01:40:56 +00:00
leo
34de3928b6 Added support for translations. 2014-09-15 23:41:46 +00:00
leo
7c7b461fb0 Removed old terrain editor. 2014-09-14 23:32:58 +00:00
leo
4e44915e49 Removed binary file save. 2014-09-14 00:45:45 +00:00
leo
6315ff0b55 Support saving groups recursively. 2014-09-13 06:48:51 +00:00
leo
c0db665346 Added option to set an extra path to scan for the LDraw library. 2014-09-12 22:47:08 +00:00
leo
ade4b61155 Added builtin library as a zip file. 2014-09-11 19:55:34 +00:00
leo
24f74795b8 Added baseplates to builtin library. 2014-09-10 01:41:37 +00:00
leo
c1abbddca2 Added space between string literals to fix errors in c++11. 2014-09-08 22:01:24 +00:00
leo
6b5db8aff9 Updated save file format. 2014-09-08 19:42:20 +00:00
leo
a9be648237 Use QString for model properties. 2014-09-06 01:34:03 +00:00
leo
05cafd4055 Use QTextStream for saving files. 2014-09-05 00:24:28 +00:00
leo
9454ebb929 Removed JSON exporter. 2014-09-04 14:27:37 +00:00
leo
a57946008e Fixed gcc warnings. 2014-09-03 17:24:28 +00:00
leo
c4bc70fd35 Use text stream for parsing. 2014-09-03 14:34:53 +00:00
leo
661fa68011 Changed the LDraw exporter to include more features in extensions. 2014-09-02 03:44:51 +00:00
leo
4c0c815682 Moved keys to separate arrays. 2014-08-31 00:53:12 +00:00
leo
07e6fce3ce Use LDraw units internally. 2014-08-30 19:48:36 +00:00
leo
9a37302456 Added JSON export. 2014-08-29 23:52:42 +00:00
leo
73952870fd Moved transform type to main window. 2014-08-27 16:17:09 +00:00
leo
0a66fbeb82 Moved some drawing code out of the projet. 2014-08-23 22:56:59 +00:00
leo
22d3c57b9b Moved selection functions to model. 2014-08-17 20:44:12 +00:00
leo
b9d2229132 Removed old object class names. 2014-08-07 15:22:33 +00:00
leo
109ec00f5f Support more than 255 steps. 2014-07-06 06:04:09 +00:00
leo
1b79096bd4 Removed the need to manually set a project modified when a change is made. 2014-07-04 17:35:52 +00:00
leo
d78071b773 Moved undo support to model. 2014-07-03 19:10:04 +00:00
leo
98541ed1f2 Improved moving rotated parts. 2014-06-22 17:39:15 +00:00
leo
a28ae91a52 Draw border around active view. 2014-06-20 21:30:52 +00:00
leo
c48adc095b Added shortcut for toggling relative snap. 2014-06-18 01:14:45 +00:00
leo
64fab2886e Fixed moving rotated pieces. 2014-06-16 17:04:50 +00:00
leo
1a68268421 Renamed orthographic projection in the menu. 2014-06-13 01:04:44 +00:00
leo
7d2d338398 Fixed piece drag from list. 2014-05-26 22:58:08 +00:00
leo
d4c3cf8ebe Group cleanup. 2014-05-25 18:23:09 +00:00
leo
e20907fbdd Added model class. 2014-05-25 01:45:19 +00:00
leo
4e1a08c4fb Moved current tool to main window. 2014-05-23 00:02:21 +00:00
leo
eb4bc27c25 Moved addkeys to main window. 2014-05-20 22:15:42 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
add7710f01 Fixed cache not saving. 2014-05-07 23:14:15 +00:00
leo
65ede54f8b Added support for unofficial zip files. 2014-05-07 22:58:59 +00:00
leo
6387ca917f Fixed buffer overflow with parts with very long descriptions. 2014-05-03 21:22:21 +00:00
leo
fe2e759bc0 Moved view list to main window. 2014-05-03 21:16:48 +00:00
leo
9292816f89 Moved some hit test functions to view. 2014-05-03 16:59:57 +00:00
leo
df90611f77 Merged projection and view classes. 2014-05-03 06:08:52 +00:00
leo
e0d4f03cbc Moved projection selection to camera. 2014-05-03 01:22:24 +00:00
leo
7b60905dcb Removed cm units option. 2014-05-02 21:54:07 +00:00
leo
49729dc52a Renamed object classes. 2014-05-01 18:42:11 +00:00
leo
0c0cc2aefe Decreased distance to weld vertices to fix some parts not drawing correctly. 2014-05-01 15:26:45 +00:00
leo
d2d96489ac Fixed inconsistent behavior where sometimes parts that are not visible would remain selected and be modified. 2014-05-01 14:55:12 +00:00
leo
c7cdb96abb Crash fix. 2014-04-24 23:50:32 +00:00
leo
6d4e57b343 Fixed matrix passed by value. 2014-04-24 01:43:48 +00:00
leo
38757baec7 Refactored adding meshes. 2014-04-23 14:53:43 +00:00
leo
7e2180e132 Fixed invalid memory free. 2014-04-20 19:09:46 +00:00
leo
54beb09a97 New selection indicator. 2014-04-20 01:50:41 +00:00
leo
e0cfece285 Fixed background image not loading. 2014-04-16 00:35:55 +00:00
leo
fcee2cfd7a Added context default state. 2014-04-16 00:29:54 +00:00
leo
f31879c2e4 Workaround for LDD import bug. 2014-04-14 03:43:31 +00:00
leo
c435eae17b Added graphics context class. 2014-04-14 03:20:16 +00:00
leo
d61cf958f6 Cleanup. 2014-04-12 00:29:53 +00:00
leo
83720038af Added copy constructor to array. 2014-04-10 21:24:55 +00:00
leo
c5f006cd2c Moved pieces from a linked list to an array. 2014-04-10 04:46:48 +00:00
leo
0459b9f38b Moved lights from linked list to array. 2014-04-08 22:34:50 +00:00
leo
22dd034383 Correct fix for retina mouse problem. 2014-04-06 21:44:58 +00:00
leo
7e40bae194 Updated version number. 2014-04-05 23:45:04 +00:00
leo
2bc23fe871 Only check for part updates if loading from a zip file. 2014-03-07 02:39:28 +00:00
leo
18db90b7f5 Keep vertex array state always enabled during rendering. 2014-02-16 19:36:11 +00:00
leo
0cf0f497e9 Removed calls to GL matrix stack. 2014-02-16 07:23:55 +00:00
leo
75f093f96d Moved properties and preferences into their own classes. 2014-02-10 00:13:41 +00:00
leo
3b08ba7a0b Removed display lists. 2014-01-31 00:29:09 +00:00
leo
ac6a61768c Removed curve class. 2014-01-30 23:26:55 +00:00
leo
213c53813c Removed animation code. 2014-01-30 03:13:34 +00:00
leo
f7334f682e Initialize GL shader extensions. 2014-01-27 18:04:50 +00:00
leo
f4e905e4f4 Updated version. 2014-01-25 23:43:22 +00:00
leo
5e3012e27c Fixed warning. 2014-01-25 23:38:03 +00:00
leo
4ea66ceb52 Updated Minifig Wizard settings. 2014-01-25 22:56:43 +00:00
leo
ad4df2651f Added support for GL_EXT_framebuffer_object. 2014-01-13 00:29:12 +00:00
leo
596878213a Fixed crash when printing on a computer without the FBO extension. 2014-01-10 14:47:30 +00:00
leo
477a3f062b Preserve groups when merging. 2013-12-19 13:41:49 +00:00
leo
a7ab2956c8 Added Look At command. 2013-12-17 22:23:41 +00:00
leo
79ac714ffc Added missing files. 2013-12-17 21:11:36 +00:00
leo
418481f8c8 Orthographic projection option. 2013-12-17 02:43:16 +00:00
leo
4dbc82a8ab Added move arrows to lights. 2013-12-15 22:01:11 +00:00
leo
8f4c932b13 Fixed mouse cursor not being updated in some cases. 2013-12-15 21:58:30 +00:00
leo
4fd398caa5 Hide rotation handles if no pieces are selected. 2013-12-15 21:51:22 +00:00
leo
d33f532af3 Using the mouse wheel with the control key down will zoom faster. 2013-12-15 21:41:15 +00:00
leo
eb9a75fc25 Fixed wrong transform of some pieces when importing nested ldr files. 2013-12-07 23:15:28 +00:00
leo
e3b086ffb6 Fixed piece arrows not being drawn if the axis icon is enabled. 2013-09-08 05:54:56 +00:00
leo
e3250c12f1 Fixed grid studs being enabled by grid lines option. 2013-09-06 23:24:47 +00:00
leo
92dc1315f5 Fixed mipmap generation bug. 2013-09-05 00:04:21 +00:00
leo
5cd24e9921 Updated color definitions. 2013-09-02 21:05:01 +00:00
leo
176cbbbdeb Update minifig wizard settings. 2013-09-02 20:55:27 +00:00
leo
6aa24485af Fixed compiler warning. 2013-09-02 20:31:48 +00:00
leo
8477b38020 Updated version number. 2013-09-02 18:29:21 +00:00
leo
5758001cbc Resize grid when adding pieces with the mouse. 2013-09-01 22:25:34 +00:00
leo
ba28ef208c Moved default camera out. 2013-09-01 22:19:53 +00:00
leo
87e7ed190c Auto resize grid. 2013-09-01 21:45:19 +00:00
leo
8609014e64 Added option to draw studs on the base grid. 2013-08-31 21:58:47 +00:00
leo
44e85eb339 Removed copy keys command. 2013-08-31 00:07:04 +00:00
leo
88ac2de732 Fixed 3ds export bugs. 2013-08-29 06:51:36 +00:00
leo
c380956c96 Split povray exporter into a separate function. 2013-08-17 01:35:02 +00:00
leo
3a626ab23c Added povray options to the preferences dialog. 2013-08-17 01:17:23 +00:00
leo
06ceadd800 Fixed calling povray to render files. 2013-08-16 23:17:25 +00:00
leo
32dcb94c49 Removed defines.h 2013-08-16 22:39:47 +00:00
leo
bfe224fd75 Fixed loading mpd files with spaces in the name. 2013-08-16 16:16:45 +00:00
leo
422b104b8e Removed console class. 2013-08-16 01:31:30 +00:00
leo
649d6b351c Renamed window classes. 2013-08-16 01:25:51 +00:00
leo
4d0eb9ce3e Renamed source files. 2013-08-16 01:20:51 +00:00
leo
979217d023 Array class cleanup. 2013-08-15 23:43:18 +00:00
leo
50027f8a07 Automatically update file extension in the image dialog. 2013-08-13 22:17:25 +00:00
leo
013e72b334 Fixed crash loading a project from the command line. 2013-08-11 20:35:04 +00:00
leo
1bd17a3394 Fixes for Qt 4.8 on OSX. 2013-08-10 04:03:29 +00:00
leo
8b1bb38fc1 Deleted old files. 2013-08-09 19:17:46 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00
leo
3bb6b098c8 Updated version number. 2013-08-07 23:08:53 +00:00
leo
5bfa04ddf1 Fixes to compile on FreeBSD. 2013-07-12 21:29:57 +00:00
leo
1a29356179 Fixed potentially incorrect signed comparison. 2013-07-08 19:23:29 +00:00
leo
4ebbd438d7 Fixed some valgrind warnings about uninitialized variables. 2013-07-08 18:09:44 +00:00
leo
49a48913e6 Removed unused variable. 2013-07-07 22:29:58 +00:00
leo
70d500ab87 Fixed uninitialized overlay mode. 2013-04-10 00:56:51 +00:00
leo
8ef4470439 Use a translucent rectangle for selection instead of lines. 2013-04-10 00:52:06 +00:00
leo
fba908166b Fixed importing parts with bow tie quads. 2013-03-21 21:16:51 +00:00
leo
e8ef2de64d Fixed duplicate colors when using the internal library. 2013-03-07 17:09:35 +00:00
leo
d22e5fecde Updated version number. 2013-03-06 22:16:26 +00:00
leo
1c10e656b2 Fixed compiler warning. 2013-02-26 03:06:51 +00:00
leo
8f6172ee2f More descriptive error message. 2013-02-23 01:28:20 +00:00
leo
ca6ff669e2 Added a small built-in library in case a real one is not available. 2013-02-23 01:21:49 +00:00
leo
975bcb14df Fixed warnings. 2013-02-22 20:01:36 +00:00
leo
61c19a7127 Automatically swap buffers after drawing a GL window derived class. 2013-02-13 01:18:28 +00:00
leo
8a22a11819 Fixed shadow declarations. 2013-02-12 23:36:30 +00:00
leo
3220901e04 Fixed bug pasting cameras. 2013-02-12 22:12:50 +00:00
leo
c7ebb8b82b Only update camera menu once when deleting multiple cameras. 2013-02-12 22:07:52 +00:00
leo
a7796f4bca Initialize all member variables. 2013-02-11 22:25:16 +00:00
leo
1f68d362db Support drag and drop from piece list on Linux. 2013-02-11 19:28:53 +00:00
leo
012383cfc7 Added camera rotate and zoom to the Minifig Wizard preview. 2013-01-29 00:43:34 +00:00
leo
4a33a776a1 Inverted piece preview zoom to be consistent with the main window zoom. 2013-01-28 23:51:16 +00:00
leo
8876844b5e Support mouse wheel sensitivity on Windows. 2013-01-28 20:14:14 +00:00
leo
03794eb0ec Support mouse wheel on Linux. 2013-01-28 19:57:33 +00:00
leo
0876ec0306 Inverted mouse zoom direction. 2013-01-27 01:50:50 +00:00
leo
36d507a060 Renamed default view positions. 2013-01-27 01:36:11 +00:00