Commit graph

354 commits

Author SHA1 Message Date
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
leo
2ceba627a0 Improved camera rotation. 2013-01-27 01:22:37 +00:00
leo
3a2b6551b9 Support middle mouse button on Linux. 2013-01-26 20:06:27 +00:00
leo
f602408f6a Added option to display piece ID and select the piece color to the HTML exporter. 2013-01-26 02:23:49 +00:00
leo
da73fcc388 Fixed crash when unable to open a file during HTML export. 2013-01-26 01:20:34 +00:00
leo
719e4c6c58 Added missing dialog to Linux version. 2013-01-25 23:22:24 +00:00
leo
f8e00a2458 Link with libdl. 2013-01-25 06:14:33 +00:00
leo
1fbb448ba4 Added export to Brick Link. 2013-01-24 23:54:10 +00:00
leo
5becf6f62b Added -lX11 to libraries. 2013-01-24 22:23:35 +00:00
leo
6376cbb8ef Integrated BOM code from branch. 2013-01-23 23:56:34 +00:00
leo
4f77abc542 Removed version.mk and updated version number. 2013-01-21 19:25:00 +00:00
leo
4bfd2ff6a2 Fixed wrong pieces being selected after dragging a new piece from the list. 2013-01-19 22:58:50 +00:00
leo
b2cbf56ecc Create library cache directory. 2013-01-12 21:46:28 +00:00
leo
74e52034ad Force C locale when reading library files. 2013-01-12 21:00:38 +00:00
leo
cd71a02c95 Removed immediate mode draw calls. 2013-01-11 21:02:55 +00:00
leo
ed05c622db Fixed uninitialized variable. 2013-01-08 01:40:40 +00:00
leo
ee6dae8249 Fixed compiler warnings. 2013-01-06 19:24:25 +00:00
leo
93b55de7ed Fixed crash unloading textures. 2013-01-06 15:36:15 +00:00
leo
49be422b02 Fixed line endings. 2013-01-02 08:07:59 +00:00
leo
51ca702bb6 Linux fixes. 2013-01-02 07:56:07 +00:00
leo
e76cdc4e9c Updated version number. 2013-01-02 07:51:52 +00:00
leo
03327527e9 Read parts.lst instead of parsing each file. 2013-01-01 21:26:28 +00:00
leo
0a42b92f46 Fixed glitch drawing translucent pieces. 2012-12-23 00:48:22 +00:00
leo
4d7fa13fc5 Fixed bug loading textures from zip files. 2012-12-18 18:55:06 +00:00
leo
ae0a6109ba Don't zoom when loading a file for undo or redo. 2012-12-13 23:58:03 +00:00
leo
00c0eacf14 Display the Image Dialog instead of the File Dialog. 2012-12-13 02:51:12 +00:00
leo
2fe167f88e Zoom extents after loading a file. 2012-12-13 00:20:40 +00:00
leo
a97824ba62 Zoom extents after importing a file. 2012-12-10 23:30:28 +00:00
leo
1daef622cb Fixed default color detection when loading pieces. 2012-12-10 22:59:28 +00:00
leo
e86a99c5f4 Updated library version check. 2012-11-29 04:51:51 +00:00
leo
c0584938a7 Fixed big endian errors. 2012-11-25 21:44:11 +00:00
leo
8c27ea2086 Allow the program to start without a library. 2012-11-21 21:51:30 +00:00
leo
7710f9d3f5 Fixed zoom extents on an empty scene. 2012-11-17 02:47:22 +00:00
leo
d3a8e0b1f0 Added option to not use a camera. 2012-11-15 01:14:35 +00:00
leo
ca39b28a62 Avoid creating buffer objects without an active context. 2012-11-09 22:48:39 +00:00
leo
065befb84a Fixed piece cache bugs. 2012-11-09 00:07:53 +00:00
leo
04932395be Cache piece data. 2012-11-08 04:05:52 +00:00
leo
fae81aa8bd Added support for deleting files inside zip files. 2012-11-03 01:32:38 +00:00
leo
670d2d4689 Fixed warnings. 2012-11-02 01:17:42 +00:00
leo
4539ea5124 Added library path to the Preferences Dialog. 2012-11-01 23:34:53 +00:00
leo
b45a7d2bee Require full path for the library file. 2012-11-01 01:05:27 +00:00
leo
53894d79b9 Fixed rotate view cursor not updating correctly. 2012-11-01 00:34:09 +00:00
leo
b47bf81876 Windows fixes. 2012-10-22 23:27:19 +00:00
leo
d52d9c5a18 Replaced part of the auto config with glib. 2012-10-20 01:14:12 +00:00
leo
37cbe23a63 Updated default categories. 2012-10-19 20:58:11 +00:00
leo
b0ac0089ab Removed old matrix class. 2012-10-18 18:57:21 +00:00
leo
436376c77e Linux fixes. 2012-10-16 22:24:43 +00:00
leo
e0751a6f75 Sort mesh sections. 2012-10-16 00:43:52 +00:00
leo
2d91680984 Texture cleanup. 2012-10-12 18:21:45 +00:00
leo
3970dd3698 Fixed crash on exit. 2012-10-12 00:21:04 +00:00
leo
9c53860e4a Added texture mapping support. 2012-10-11 23:55:55 +00:00
leo
404a67b361 Cache library contents between runs. 2012-10-05 23:09:38 +00:00
leo
748ad35ff4 Added support for writing zip files. 2012-10-05 19:11:37 +00:00
leo
b1c1c6bf11 Lower case file names for linux. 2012-10-04 21:08:05 +00:00
leo
0b348af6a7 Load color config from library. 2012-10-03 22:38:33 +00:00
leo
de827bab56 Updated colors. 2012-10-03 22:15:31 +00:00
leo
08d7f05ffc Added support to load loose library files. 2012-10-02 22:16:36 +00:00
leo
30ec8634d8 Start using the new Pieces Library. 2012-10-02 01:23:44 +00:00
leo
71f27a45c2 New Pieces Library code. 2012-09-29 00:16:43 +00:00
leo
b5a940aca9 Added unzip support. 2012-09-20 00:53:12 +00:00
leo
0b30c346df Fixed wrong stud radius. 2012-09-13 17:59:57 +00:00
leo
210a352d33 Removed some immediate mode rendering. 2012-09-09 23:42:57 +00:00
leo
2e8b0a60b6 Added 64 bit types. 2012-09-07 22:46:40 +00:00
leo
14e4b0c6fe Fixed uninitialized variable when creating placeholder mesh. 2012-09-04 18:59:05 +00:00
leo
4da5f06d9a Camera cleanup. 2012-08-23 18:47:37 +00:00