Commit graph

290 commits

Author SHA1 Message Date
Leonardo Zide
fb7f952e98 Fixed a case where drag and drop a submodel didn't do anything. 2020-02-01 11:34:56 -08:00
Leonardo Zide
9b7c7563a2 Added option to insert steps after the current step to avoid confusion. Fixes #373 and #408. 2020-01-26 18:41:31 -08:00
Leonardo Zide
bbc40d5a22 Start new model when closing the last tab. Fixes #422. 2020-01-26 11:31:21 -08:00
Leonardo Zide
8f48b09ae3 Added view sphere toggle. Fixes #284. 2020-01-05 11:38:24 -08:00
Leonardo Zide
636f84ad6c Fixed recent file being removed from menu when cancelling saving the current file. 2020-01-04 11:25:52 -08:00
Leonardo Zide
6891c59d38 Elide status bar text. Fixes #417. 2020-01-04 10:48:17 -08:00
Leonardo Zide
3044bf3972 Fixed compiler warnings. 2020-01-03 17:22:35 -08:00
Leonardo Zide
8309f0bf35 Added print margin. 2019-12-30 16:45:28 -08:00
Leonardo Zide
75839ee6fd Fix for Qt4. 2019-12-30 16:26:29 -08:00
Leonardo Zide
62ff114279 Fixed print font size. 2019-12-30 16:19:46 -08:00
Leonardo Zide
eae50b6836 Print submodels. Fixes #409. 2019-12-30 16:04:58 -08:00
Leonardo Zide
3b80bbabee Fixed projection menu not updating after switching cameras. 2019-08-10 19:26:19 -07:00
Leonardo Zide
d1a80399c8 Check if camera values are nan when loading tab layouts. 2019-07-13 08:58:31 -07:00
Leonardo Zide
1bfa710706 Only close tab if the user clicked and released the mouse on the same tab. 2019-07-01 14:38:10 -07:00
Thomas Cujé
0bae463b71 Close tab with middle mouse click (#363) 2019-07-01 14:11:47 -07:00
Leonardo Zide
6681986517 Delete popup menus after they are shown. 2019-06-23 13:15:12 -07:00
Leonardo Zide
f74b7bc801 Prompt to save ldr files with multiple models as mpd. Fixes #311. 2019-06-01 11:11:36 -07:00
Leonardo Zide
514c1e54ec Moved common includes to precompiled header. 2019-05-30 12:06:54 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
8ca4831003 Fixed crash running offscreen. 2019-04-02 11:19:23 -07:00
Leonardo Zide
590422a30a Array cleanup. 2019-03-17 13:27:57 -07:00
Tomasz Goliński
e07b9d7ec6 Allow building without QT gamepad module (#331) 2019-03-16 15:49:30 -07:00
Thomas Cujé
764c653252 Move submodels menu entry above models list
Makes it easier to find the menu entry even in models with large number
of submodels.
2019-03-12 12:22:55 -07:00
Thomas Cujé
df73a3569c Update piece info on submodel edit end. Fixes #222 2019-03-12 12:03:32 -07:00
Leonardo Zide
586ae0425f Fixed compiler warning. 2019-03-11 13:04:31 -07:00
Leonardo Zide
590a5bfa97 When creating a new tab, only set it active after a view has been created. Fixes #324. 2019-03-10 16:26:30 -07:00
Leonardo Zide
d084d11b5a Show reason a file couldn't be loaded. 2019-03-10 13:41:21 -07:00
Thomas Cujé
940e464560 Remove double error message box on project load 2019-03-10 20:28:22 +01:00
Thomas Cujé
273cc3d7be Mark project as modified on external file delete 2019-03-10 20:28:22 +01:00
Leonardo Zide
3128a078cb Fixed crash when deleting a submodel being edited in another view. 2019-02-09 16:43:39 -08:00
Leonardo Zide
8f59a67924 Detach camera when diving into a submodel. 2019-02-09 16:30:11 -08:00
Leonardo Zide
378ece224f Fixed compiler warnings. 2019-02-05 16:35:15 -08:00
Leonardo Zide
40ad756348 Added shortcut for closing the current tab. 2019-01-20 16:36:59 -08:00
Leonardo Zide
8f04ccbec7 Fixed small leak merging files. Fixes #276. 2018-10-31 16:16:45 -07:00
Leonardo Zide
58c63982d2 Renamed in-place editing options. 2018-10-14 08:47:28 -07:00
Leonardo Zide
149df626b6 Added option to go back to editing the top submodel. 2018-10-13 16:45:14 -07:00
Leonardo Zide
7be53b5a0d Fixed uninitialized variable. 2018-09-26 14:56:58 -07:00
Leonardo Zide
5e31d6985b Added new files to project. 2018-08-20 11:47:46 -07:00
Leonardo Zide
f6cbbe9636 Moved gamepad Qt check to 5.8. 2018-05-13 17:37:02 -07:00
Leonardo Zide
3276b9b320 Initial gamepad implementation. Closes #237. 2018-05-13 17:09:06 -07:00
Leonardo Zide
c8952c9147 Fixed properties widget during submodel editing. 2018-05-11 16:23:43 -07:00
Leonardo Zide
d408d97fc1 Update timeline when editing a submodel. 2018-05-06 18:26:17 -07:00
Leonardo Zide
152a3cf7b6 Fixed edit/find/select dialogs not working while editing a submodel. 2018-04-16 18:29:42 -07:00
Leonardo Zide
4a9cd5556b Have actions run on the active submodel. 2018-04-07 08:43:54 -07:00
Leonardo Zide
b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide
930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
Leonardo Zide
51bbdb9b97 Added option to remove key frames from selected objects. 2018-02-24 12:47:19 -08:00
Leonardo Zide
10e538efde Fixed static analysis warnings. 2018-02-21 17:27:24 -08:00
Leonardo Zide
172528ac1f Removed calls to foreach. 2018-02-21 16:12:18 -08:00
Leonardo Zide
0c9c743951 Replaced email menu item with a link to the bug report page on github. 2018-02-18 16:17:48 -08:00
Leonardo Zide
dcc7b80ca3 Fixed case where Remove View on nested views was removing more views than it should. 2018-02-17 17:28:53 -08:00
Leonardo Zide
ce8ea6a92e Fixed static analysis warnings. 2018-01-15 17:03:08 -08:00
Leonardo Zide
93c147eeed Make sure there's always a tab open after loading a file. 2018-01-15 16:36:50 -08:00
Leonardo Zide
7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
leo
425e68d2a0 Removed tab context menu from Qt4 since it conflicts with the view menu. 2018-01-12 09:10:05 -08:00
leo
f776ef4ea2 Fixed Qt4. 2018-01-07 08:59:05 -08:00
Leonardo Zide
5b172b6cf8 Added context menu to model tab widget. 2018-01-06 15:22:40 -08:00
Leonardo Zide
dff8aac29b Restore last tab layout when loading a file. 2018-01-06 15:01:04 -08:00
Leonardo Zide
601401fa1b Fixed reloading model references. 2018-01-06 10:15:24 -08:00
Leonardo
1e99d7050a Fixed compile error. Fixes #155. 2018-01-03 14:24:42 -08:00
Leonardo
d242fa7ea5 Don't reset tab layout when reloading a model. 2018-01-02 19:46:50 -08:00
leozide
bc02c04272 Added -html command line option. Closes #145. 2017-12-11 11:14:37 -08:00
Leonardo Zide
be3c96006f Removed old DoDialog function. 2017-12-10 18:12:31 -08:00
Leonardo Zide
5f582f7fd1 Renamed user facing strings "project" -> "model" and "model" -> "submodel" to be consistent. 2017-12-10 15:01:12 -08:00
Leonardo Zide
db1bccfee0 Handle unicode characters on the command line. 2017-12-02 19:42:42 -08:00
Leonardo Zide
f51f8d205c Added selection mode button to toolbar. 2017-11-23 18:31:55 -08:00
leozide
848cdd9daf Added piece selection modes. 2017-11-21 17:58:36 -08:00
leozide
b1527356a2 Replaced 10 degrees snap with 22.5 degrees. Closes #139. 2017-11-20 16:16:41 -08:00
Leonardo Zide
3a055a4724 Only show used parts in search dialog. 2017-11-19 14:12:27 -08:00
leozide
2b14b67eb1 Added Tools submenu. 2017-11-14 14:56:37 -08:00
leozide
57bad9ceba Smaller transform edits. 2017-11-13 17:24:36 -08:00
leozide
fe6f1a67dc Simplified default toolbars. 2017-11-13 16:54:14 -08:00
Leonardo Zide
6ca7934681 Removed axis lock option. 2017-11-11 12:46:56 -08:00
leozide
fb62beb933 Added Shading and Projection to context menu. Closes #128. 2017-10-31 12:33:35 -07:00
Leonardo Zide
d7ce050561 Added new render dialog. 2017-09-22 10:08:02 -07:00
Leonardo Zide
81c70f9daa Update preview when changing shading mode. Fixes #113. 2017-08-26 08:37:52 -07:00
leozide
4db7423f7d Added command line option to export collada. Closes #106. 2017-08-25 16:10:06 -07:00
leozide
3fc53d9d5f Added shading options. Closes #104. 2017-08-25 12:57:14 -07:00
leo
d39ec689a5 Fixed Qt4. 2017-08-20 14:06:13 -07:00
Leonardo Zide
138ebdacda Import set inventories. 2017-08-20 13:47:53 -07:00
leozide
299f44c061 First pass COLLADA exporter. 2017-08-10 18:40:43 -07:00
Leonardo Zide
02231b363b Support saving images larger than 2048. 2017-07-30 14:18:57 -07:00
leozide
b0afa61028 Removed show earlier/later from toolbar. 2017-07-27 12:41:56 -07:00
Leonardo Zide
5cd85a1584 Preserve case of part names in files. 2017-07-22 20:54:33 -07:00
Leonardo Zide
f0eb8bde96 Added LDD importer. Closes #29. 2017-06-25 18:20:34 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
leozide
a77a8e1485 Fixed main window icon. 2017-03-29 11:04:04 -07:00
Leonardo Zide
6491d15bb3 Fixed AA setting not being applied to the first view. 2017-03-26 23:12:05 -07:00
Leonardo Zide
ba9a2532a0 Avoid deleting all GL contexts. Fixes #41 and maybe fixes #33. 2017-03-26 18:14:08 -07:00
Leonardo Zide
7bd3abf6b4 Fixed issues splitting views. 2017-03-26 10:28:58 -07:00
Leonardo Zide
57b8732ed6 Context state cleanup. 2017-03-25 12:29:28 -07:00
Leonardo Zide
5ddd5b4e86 Dynamically resize rows and columns in the color list. Closes #21. 2017-03-18 18:31:04 -07: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
641f4803e2 Added select by color dialog. Closes #18. 2017-02-16 22:57:11 -08:00
Leonardo Zide
6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -08:00
Leonardo Zide
93ef02919a Prevent shortcuts from overriding key events in the parts widget. 2017-02-06 20:46:25 -08:00
Leonardo Zide
77f4cf8de4 Better default window layout. 2017-02-06 09:06:52 -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
leozide
ea5c2512a7 Fixed crash. 2017-01-26 18:47:59 -08:00
Leonardo Zide
8c318cbdf1 Multithreaded piece loading. 2017-01-22 19:28:05 -08:00
Leonardo
38be0becb3 Added frame around color widget. 2016-12-29 07:37:24 -08:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
leozide
8ed7e0d6c8 Removed old parts tree. 2016-12-20 14:11:19 -08:00
Leonardo Zide
4819d42610 Added models to new parts list. 2016-12-18 18:53:25 -08:00
Leonardo Zide
eb1bc1cd31 First pass of the new parts list widget. 2016-12-16 09:14:19 -08:00
Leonardo Zide
dcfccd8eeb Rewrote how loose model files are loaded. 2016-11-25 17:12:19 -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
dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
leo
6d483252c5 Clean up of some old dialog code. 2016-08-01 03:44:15 +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
61006184d1 Search the current path for submodels when opening files. 2016-05-28 17:35:13 +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
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
b5233f714c Added options to add and remove control points. 2016-03-03 00:04:49 +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
55e7cd4bab Warning fixes for VS 2015. 2016-02-16 23:11:52 +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
a035bf7ed1 Move pivot point with the mouse. 2015-12-14 18:01:17 +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
0ec6269972 Don't release and reload meshes when using undo. 2015-11-16 02:41:16 +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
1feafebb54 Keyboard shortcuts cleanup. 2015-09-27 07:02:57 +00:00
leo
5149ef3311 Fixed menu items not getting translated. 2015-09-25 06:03:30 +00:00
leo
4e0d23e3df Update timeline when piece color or type changes. 2015-07-05 01:04:27 +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
89df6b58c2 Added command line option to export 3ds files. 2015-03-27 20:20:12 +00:00
leo
b6ef506997 Added option to open a model from the context menu. 2015-03-17 04:18:28 +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