Commit graph

1653 commits

Author SHA1 Message Date
Leonardo Zide
9fe520c56a Fixed selection not being drawn. 2019-12-07 08:31:56 -08:00
Leonardo Zide
e9cdeed008 Sort piece insert preview with the rest of the scene. 2019-11-30 12:19:13 -08:00
Leonardo Zide
2bd9b837dc Always draw grid between opaque and translucent meshes. Fixes #399. 2019-11-30 11:38:11 -08:00
Leonardo Zide
41b89de83f Added language option. Closes #336. 2019-11-28 13:52:06 -08:00
Leonardo Zide
0ecc4b5966 Added option to disable mesh LOD. Closes #400. 2019-11-28 12:47:19 -08:00
Leonardo Zide
9e41edfef0 Fixed loading mpd files with consecutive NOFILE statements. 2019-11-26 12:13:22 -08:00
Leonardo Zide
33fe9cfac2 Faster parts list sorting. 2019-11-23 10:46:18 -08:00
Leonardo Zide
bd25c7f31a Sort translucent meshes per section. 2019-11-22 16:47:58 -08:00
Leonardo Zide
481d4e6e81 Added bounding boxes to mesh sections. 2019-11-22 12:48:40 -08:00
Leonardo Zide
226a4581aa Reset polygon offset after drawing. 2019-11-18 14:32:53 -08:00
Leonardo Zide
33caa613e7 Enabled alpha test when drawing grid studs. 2019-11-17 11:17:51 -08:00
Leonardo Zide
081373742e Translucent mesh sorting fixes and improvements. 2019-11-16 12:15:49 -08:00
Leonardo Zide
8cfddcefa3 Removed unused variable. 2019-11-12 15:13:47 -08:00
Leonardo Zide
eed93e183d Draw textured and untextured meshes together. 2019-11-12 15:11:03 -08:00
Leonardo Zide
5854cfce89 Added wrapper for glDepthMask. 2019-11-09 18:11:25 -08:00
Leonardo Zide
655498f3ee Draw opaque textured meshes before translucent meshes. 2019-11-09 11:54:17 -08:00
Leonardo Zide
94e3ca1d9a Improved alignment of minifig arms. Fixes #242. 2019-11-07 16:17:26 -08:00
Leonardo Zide
f266040633 Don't apply textures to lines. 2019-11-02 11:38:24 -07:00
Leonardo Zide
fcd3f47e23 Prevent users from collapsing the category/parts lists. Closes #397. 2019-10-27 11:31:46 -07:00
Leonardo Zide
e4f4ea2ef2 Support loading textures from the unofficial folder. 2019-10-26 11:41:49 -07:00
Leonardo Zide
eed617c04c Fixed missing triangles in lods with textures. 2019-10-26 11:30:25 -07:00
Leonardo Zide
fc054c1566 Updated bricklink color table. Fixes #393. 2019-10-05 10:07:08 -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
db7d6d176c Updated minifig.ini to 2019-02. 2019-09-27 13:57:27 -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
23eb88df4f Added minifig template import/export. 2019-09-14 17:05:13 -07:00
Leonardo Zide
1c5fb8dd2d Better render dialog resizing. Fixes #386. 2019-09-14 12:05:30 -07:00
Leonardo Zide
132a62e6a8 Fixed POV-Ray rendering not working when the user's temp folder has spaces. 2019-09-08 18:01:01 -07:00
Leonardo Zide
c425b01ecb Fixed render log not saving all lines. 2019-09-08 12:19:00 -07:00
Gerd Wachsmuth
516ddcbf7e Fix two issues with pivot points (#382)
- ResetPivotPoint() now truely resets the pivot point (and not only
invalidating it).
- The copy constructor of lcPiece now also copies the state of the pivot
point. Thus, duplicating pieces also duplicates the pivot points.
2019-08-20 14:52:29 -07:00
Leonardo Zide
5b857ccf65
Update leocad.appdata.xml 2019-08-18 17:10:45 -07:00
Leonardo Zide
861a6441c7
Update leocad.appdata.xml 2019-08-18 13:23:37 -07:00
Leonardo Zide
22c7b05dc6 Updated appdata id. 2019-08-18 12:35:09 -07:00
Leonardo Zide
1fef25a740 Added distance parameter to SetAngles. 2019-08-15 17:41:32 -07:00
Leonardo Zide
7c81198e7d Added Camera::GetAngles for LPub. 2019-08-15 17:33:37 -07:00
Leonardo Zide
ab94e51cf3 Keep the current camera settings when switching to a preset viewpoint. 2019-08-11 11:38:46 -07:00
Leonardo Zide
3b80bbabee Fixed projection menu not updating after switching cameras. 2019-08-10 19:26:19 -07:00
Leonardo Zide
44bdb22a5b Try to add lights and cameras near the center of the model. 2019-08-10 12:31:28 -07:00
Leonardo Zide
e523398c70 Added option to hide part aliases. Fixes #378. 2019-08-04 11:00:41 -07:00
Leonardo Zide
1e2f6c208f Moved mesh loading code to a separate file. 2019-07-27 16:31:16 -07:00
Leonardo Zide
560b5f3351 Fixed Qt4. 2019-07-21 10:30:45 -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
6c7291b919 Updated version. 2019-07-14 18:22:57 -07:00
Leonardo Zide
bcffeb3727 Removed horizontal lines from dialogs. 2019-07-14 18:17:58 -07:00