Commit graph

899 commits

Author SHA1 Message Date
Johannes Sixt
ba280bc1a7 Determine file size only of regular files.
lcDiskfile::Open() uses fopen() to open a file. On Linux, this can open
a directory just fine (at least for reading). This is slightly problematic
when it is attempted to open the parts library $(sharedir)/library.bin
and the library is an unzipped directory hierarchy. It is first attempted
to open the path as a ZIP file. While opening the directory as a file is
successful, subsequent navigation in the open "file" fails.

Pretend that a directory is an empty file so that the ZIP file reader is
not tempted to navigate around in the "file" and so reports failure in a
deterministic manner.

We could have inserted the check for regular files in lcDiskFile::Open(),
but this burdens every file open request, which can happen thousands of
times when the parts library is extracted instead of in a ZIP file.
2017-03-17 08:15:05 +01:00
Leonardo Zide
acd5a485f0 Added a decal material to fix the texmap extension. 2017-03-12 13:51:14 -07:00
Leonardo Zide
e645228128 Fixed stud grid color. 2017-03-12 12:40:59 -07:00
Leonardo Zide
61e803c161 Added fake lighting shader. 2017-03-11 16:47:21 -08:00
leozide
0677dcfd02 Moved Duplicate to the Piece Menu. 2017-03-08 15:57:24 -08:00
leozide
8125ee8f74 Moved Duplicate to the Piece Menu. 2017-03-08 15:55:38 -08:00
leozide
cf65201095 Added Duplicate Piece action. 2017-03-08 15:49:57 -08:00
Leonardo Zide
043246fbe6 Changed normal format for compatibility. 2017-03-05 22:14:50 -08:00
leozide
4d844dd90a Added normals to cube mesh. 2017-03-03 18:04:52 -08:00
Leonardo Zide
c833912f78 Merge pull request #31 from j6t/master
Draw a dark gray border around color indicators in the time line.
2017-03-03 16:11:04 -08:00
leozide
3e4063f962 Set lighting for minifigs. Fixes #32. 2017-03-03 16:08:39 -08:00
Johannes Sixt
d393cf83b3 Draw a dark gray border around color indicators in the time line.
This makes white, yellow and other colors more visible. In particular,
white entries do not look like absent against a white window background.

Due to the border, the circle must now be smaller by one pixel.
2017-03-04 00:06:01 +01: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
Leonardo Zide
4096d4a325 Fixed normal calculation. 2017-03-01 08:36:51 -08:00
leozide
37327277e8 Fixed mesh generation bug. 2017-02-28 17:14:29 -08:00
leozide
7e3f572b8e Added shaders for each material/lighting combination. 2017-02-28 15:20:34 -08:00
leozide
9978230506 Calculate mesh normals. 2017-02-27 16:03:12 -08:00
leozide
e09d9cae3f Fixed warning. 2017-02-21 12:57:25 -08:00
Leonardo Zide
6df1ceb165 Parse BFC statements in parts. 2017-02-21 08:09:13 -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
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
6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00
Leonardo Zide
5875284d5d Updated version number. 2017-02-11 17:51:57 -08:00
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
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