Commit graph

396 commits

Author SHA1 Message Date
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