Commit graph

199 commits

Author SHA1 Message Date
Leonardo Zide
73495e82da Load official textures before unofficial. 2021-03-27 14:45:55 -07:00
Leonardo Zide
6042cb8188 Fixed loading primitives from ldrawunf.zip. 2021-03-27 12:15:38 -07:00
Leonardo Zide
32c7964503 Load official parts before unofficial. 2021-03-13 20:01:25 -08:00
Leonardo Zide
f789dd21df Read official files before unofficial files.
This is for consistency with other tools #652.
2021-03-13 10:51:35 -08:00
Leonardo Zide
233affe3fc Moved global resource creation to startup instead of context creation. Fixes #645. 2021-03-10 21:22:41 -08:00
Leonardo
41aa31b7a4 Fixed loading built-in library. 2021-01-25 16:58:44 -08:00
Leonardo Zide
03b9c75d9e Fixed subparts not updating stud style. 2021-01-23 14:55:00 -08:00
Leonardo Zide
728980c97a Fixed mesh reload after changing stud options. Fixes #608. 2021-01-23 11:43:57 -08:00
Leonardo Zide
63a6590fc8 Replaced hardcoded stud style values with an enum. 2021-01-22 14:16:28 -08:00
Leonardo Zide
0c03fd3fea Fixed crash using the --stud-style option. 2021-01-22 13:59:36 -08:00
Leonardo Zide
eb70a09961 Fixed issues with stud colors. 2021-01-22 13:40:16 -08:00
Trevor SANDY
f21d7ad63a Stud style - Rename stud logo 2021-01-20 13:19:29 +01:00
Trevor SANDY
0a749f6f3a Stud style 2021-01-20 13:19:09 +01:00
Leonardo Zide
a8d757c0c4 Added a system to override primitives and updated the stud logos to use it. 2021-01-18 15:23:13 -08:00
Leonardo Zide
cbfd2ce4bc Renamed enum. 2021-01-18 13:38:17 -08:00
Leonardo Zide
c1d7e986b3 Added stud logo primitives. 2021-01-18 12:09:33 -08:00
Leonardo Zide
ab9df4a712 Require Qt 5.4. 2021-01-08 10:57:39 -08:00
Leonardo Zide
b70fab3059 Require Qt5. 2021-01-08 10:35:52 -08:00
Leonardo Zide
69cfc71f3b Removed global placeholder mesh. 2020-12-31 14:23:08 -08:00
Leonardo Zide
aa1d802c04 Removed strlwr. 2020-12-20 12:06:14 -08:00
Leonardo Zide
f5ddd46776 Flush text stream before writing. Fixes #562. 2020-12-20 11:13:57 -08:00
Raymond S Brand
fd24accea7 Fix warnings 2020-12-19 14:48:06 -08:00
Leonardo Zide
84af94164d Fixed warnings. 2020-12-19 11:12:31 -08:00
Johannes Sixt
b176cb421b Keep ZIP file objects in std::unique_ptr<> to clarify ownership. 2020-12-19 10:52:57 +01:00
Johannes Sixt
ac9954972d Pass file objects in std::unique_ptr<> to clarify ownership. 2020-12-19 10:52:57 +01:00
Johannes Sixt
f3683ee93e Remove unused parts library pathname member variables. 2020-12-19 10:52:57 +01:00
Leonardo Zide
71ea45f085 Updated deprecated functions. 2020-12-14 15:08:43 -08:00
Leonardo Zide
ea99066465 Disable stud logo options from preferences when unofficial parts are missing. 2020-12-12 15:21:30 -08:00
Leonardo Zide
7275c4256d Added const qualifiers. 2020-03-22 20:18:52 -07:00
Leonardo Zide
85a9b19b2c Warning fixes. 2020-02-24 14:31:08 -08:00
Leonardo Zide
93e8f4a85e Fixed possible buffer overflow. 2020-01-24 13:12:34 -08:00
Leonardo Zide
58957440cf Fixed crash loading certain parts. 2020-01-17 14:44:35 -08:00
Leonardo Zide
b43675f323 Array cleanup. 2020-01-10 17:40:14 -08:00
Leonardo Zide
24890ecebd Added array count macro. 2019-12-09 11:43:54 -08:00
Leonardo Zide
aa28254a37 Support multiple part sets. 2019-12-08 16:54:12 -08:00
Leonardo Zide
17a230c52a Added favorite parts category. 2019-12-07 09:52:46 -08:00
Leonardo Zide
e4f4ea2ef2 Support loading textures from the unofficial folder. 2019-10-26 11:41:49 -07:00
Leonardo Zide
9499dd9daa Fixed stud LOD not working. Fixes #390.
Also fixed cached pieces not updating their logo settings.
2019-09-29 12:58:18 -07:00
Leonardo Zide
4269e84a16 Fixed parts with studs in primitives not reloading when changing the logo setting. 2019-09-27 14:52:50 -07:00
Leonardo Zide
fa06a83704 Add stud logo setting to cache check. 2019-09-23 17:06:16 -07:00
Leonardo Zide
ed5259229e Fixed mesh cache not loading parts. 2019-09-23 16:56:47 -07:00
Leonardo Zide
66bbb8d9de Simpler stud reload. 2019-09-23 16:55:24 -07:00
Trevor SANDY
f91da8a7ce Change stud logo without application restart (#389)
* Change stud logo without application restart

* Refactor change stud logo without application restart
2019-09-23 16:22:11 -07:00
Trevor SANDY
5adcfb4027 Add stud logo preference and command line option (#387)
* Add stud logo preference and command line option

* Support add stud logo when using disk library
2019-09-21 09:47:33 -07:00
Leonardo Zide
1e2f6c208f Moved mesh loading code to a separate file. 2019-07-27 16:31:16 -07:00
Leonardo Zide
a9ff4d265b Replaced PieceInfo flags with enum. 2019-07-21 09:26:36 -07:00
Leonardo Zide
e68ce05b57 Moved mesh flags to the mesh class. 2019-07-21 08:56:37 -07:00
Leonardo Zide
4493c3f6f2 Array cleanup. 2019-07-04 17:06:26 -07:00
Leonardo Zide
5a3abf18e0 Allow custom color and minifig settings files. Fixes #359. 2019-06-20 18:52:33 -07:00
Leonardo Zide
a464606507 Fixed compiler warnings. 2019-06-03 13:23:04 -07:00