Commit graph

193 commits

Author SHA1 Message Date
Leonardo Zide
5d1a900683 Don't show library load progress when the running from the command line. 2017-11-24 20:00:16 -08:00
Leonardo Zide
035da7ce0a Show a progress dialog while scanning parts folders. 2017-11-24 18:19:29 -08:00
Leonardo Zide
9c5709feea Default save image location to the project folder. 2017-11-24 11:53:04 -08:00
Leonardo Zide
2071d6810a Don't require a known extension when saving images from the command line. 2017-11-24 11:48:46 -08:00
leozide
39241c8aad Refresh parts list after preferences changed. 2017-09-13 14:21:53 -07:00
Johannes Sixt
7d37913b7b Fix error messages of command line argument parsers. (#119)
The two error messages about missing arguments access an argument with an
incorrect index because at these points in the code the *CurArg is not yet
incremented.

Also append line breaks to separate the messages from other notices and
warnings that could occur.
2017-09-03 10:51:46 -07:00
leozide
1725d0cf0e Rewrote library search code. 2017-08-28 19:13:17 -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
Alistair Buxton
9aea871fe0 Add --viewpoint and --orthographic.
Use to set up the view using the built-in defaults. Note that they are
mutually exclusive with --camera.
2017-06-21 07:55:48 +01:00
Alistair Buxton
aac367ecfd Document version and help options. 2017-06-21 06:54:24 +01:00
Alistair Buxton
b4e55d1b49 Remove accidental duplicated help line. 2017-06-21 06:33:21 +01:00
Leonardo Zide
f024007157 Keep camera name as a c string for now. 2017-06-20 21:43:39 -07:00
Alistair Buxton
d7275358d6 Don't zoom extents when using a named camera. 2017-06-20 21:33:59 -07:00
Alistair Buxton
b2e4d85324 Add help for new command line options. 2017-06-20 21:31:39 -07:00
Alistair Buxton
240c8f68a5 Add command line options to set submodel and camera. 2017-06-20 21:25:27 -07:00
leozide
164031ffa4 Re-enabled --highlight command line option. 2017-06-20 11:32:48 -07:00
Leonardo Zide
05104162e9 Only highlight new pieces when the option is enabled. 2017-06-20 08:20:59 -07:00
Leonardo Zide
05e3d7846c Update file functions to support multibyte strings. Fixes #46. 2017-05-29 13:32:45 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Leonardo Zide
6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00
leozide
4b9cd6a038 Removed GetFileList. 2017-02-08 17:41:14 -08:00
leozide
70fd2c3ce0 Removed old string class. 2017-02-07 18:55:54 -08:00
Leonardo
1ef60b8ddf Improved part search filter. 2016-12-16 12:52:36 -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
1070ea664f Remember last folder used to open a project. 2016-10-15 13:00:26 -07:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +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
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
55e7cd4bab Warning fixes for VS 2015. 2016-02-16 23:11:52 +00:00
leo
b53debf017 Changed the library cache to use loose files. 2015-07-22 04:00:47 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
89df6b58c2 Added command line option to export 3ds files. 2015-03-27 20:20:12 +00:00
leo
c4b15d05a9 Fixed timeline update crash. 2015-03-14 19:07:07 +00:00
leo
7440111b64 Allow different cameras for each submodel. 2015-03-01 23:17:50 +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
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
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
07062693a8 Moved relative snap option to the toolbar. 2015-01-18 05:36:14 +00:00
leo
7db0e7f21e Fixed html export. 2015-01-12 04:49:30 +00:00
leo
1de2bffb73 Fixed valgrind errors. 2015-01-08 05:40:22 +00:00
leo
06496f1cf0 Remove temporary pieces from the library after unloading a project. 2015-01-07 16:52:42 +00:00
leo
e383eed986 Fixed loading files from the command line. 2014-12-31 16:38:30 +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
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
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
5834587204 Support gradient and texture backgrounds in the preview widget. 2014-10-23 22:03:50 +00:00
leo
d6ceb6bfdc Simplified the Save Image Dialog. 2014-10-11 23:26:23 +00:00
leo
2ca5665235 Moved mouse handling to the model. 2014-10-05 05:21: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
c1abbddca2 Added space between string literals to fix errors in c++11. 2014-09-08 22:01:24 +00:00
leo
109ec00f5f Support more than 255 steps. 2014-07-06 06:04:09 +00:00
leo
add7710f01 Fixed cache not saving. 2014-05-07 23:14:15 +00:00
leo
fe2e759bc0 Moved view list to main window. 2014-05-03 21:16:48 +00:00
leo
2bc23fe871 Only check for part updates if loading from a zip file. 2014-03-07 02:39:28 +00:00
leo
75f093f96d Moved properties and preferences into their own classes. 2014-02-10 00:13:41 +00:00
leo
213c53813c Removed animation code. 2014-01-30 03:13:34 +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
013e72b334 Fixed crash loading a project from the command line. 2013-08-11 20:35:04 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00
leo
e8ef2de64d Fixed duplicate colors when using the internal library. 2013-03-07 17:09:35 +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
e86a99c5f4 Updated library version check. 2012-11-29 04:51:51 +00:00
leo
8c27ea2086 Allow the program to start without a library. 2012-11-21 21:51:30 +00:00
leo
ca39b28a62 Avoid creating buffer objects without an active context. 2012-11-09 22:48:39 +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
d52d9c5a18 Replaced part of the auto config with glib. 2012-10-20 01:14:12 +00:00
leo
404a67b361 Cache library contents between runs. 2012-10-05 23:09:38 +00:00
leo
0b348af6a7 Load color config from library. 2012-10-03 22:38:33 +00:00
leo
30ec8634d8 Start using the new Pieces Library. 2012-10-02 01:23:44 +00:00
leo
392f399b89 Switched rendering to new color format. 2012-04-18 00:03:28 +00:00
leo
64361beeac Merged changes from 0.76.2 tag. 2012-04-11 04:58:40 +00:00
leo
4143fd0b82 Removed duplicate includes and renamed File class. 2012-03-21 01:54:03 +00:00
leo
778c92f80b Added support for precompiled headers to common files. 2012-03-20 00:57:42 +00:00
leo
1f9a1761c0 Copied 0.75 branch as the new trunk. 2011-09-07 21:06:51 +00:00