Commit graph

2337 commits

Author SHA1 Message Date
Leonardo Zide
48c6fad09e Flush vertex attribs when the buffer object changes. Fixes #697. 2021-04-17 10:38:23 -07:00
Leonardo Zide
a93a119ee2 Small mesh loader cleanup. 2021-04-10 16:18:15 -07:00
Leonardo Zide
278e953b81 Rewrote vertex attribute cache. 2021-04-10 15:22:41 -07:00
Leonardo Zide
b6acab713d Removed redundant state changes. 2021-03-28 13:30:35 -07:00
Leonardo Zide
989373155f Draw timer on screen. 2021-03-28 11:50:28 -07:00
Leonardo Zide
c613ff6bb4 Added simple draw timer. 2021-03-27 19:19:29 -07:00
Leonardo Zide
0be663f73c Reset BFC state after enabling it. 2021-03-27 17:52:21 -07:00
Leonardo Zide
db4917ee42 Corrected base grid winding. 2021-03-27 17:32:49 -07:00
Leonardo Zide
2ff7197c5e
Update .travis.yml 2021-03-27 15:58:30 -07:00
Leonardo Zide
73495e82da Load official textures before unofficial. 2021-03-27 14:45:55 -07:00
Leonardo Zide
5825371b7e Fixed buffer overflow loading certain parts. Fixes #659. 2021-03-27 12:48:36 -07:00
Leonardo Zide
6042cb8188 Fixed loading primitives from ldrawunf.zip. 2021-03-27 12:15:38 -07:00
Leonardo Zide
594422315a Draw texture triangle normals. 2021-03-25 20:46:37 -07:00
Leonardo Zide
cd9532f0cf
Merge pull request #674 from j6t/pneumatic-tubes
Synthesize Technic Pneumatic Tubes
2021-03-25 19:57:14 -07:00
Leonardo Zide
273140f3ee
Update README.md 2021-03-21 18:17:49 -07:00
Leonardo Zide
4b38cc6681 Use readme.txt on Windows. 2021-03-21 18:02:03 -07:00
Leonardo Zide
3c6ce2e063
Merge pull request #675 from aromatic-dev/rename-readme-file
Add snap installation instructions and improve the readme.md formatting.
2021-03-21 17:58:40 -07:00
Leonardo Zide
8039f5b180 Draw conditional lines on a separate pass. 2021-03-21 17:53:13 -07:00
Johnny
08755e4c97 Add Snap Store installation instructions, rename README.txt to README.md
and improve formatting
2021-03-22 09:44:19 +13:00
Leonardo Zide
2a019412e1 Use text color for the flexible icon. 2021-03-21 13:43:07 -07:00
Leonardo Zide
e9040c8332 Added preview indicator for synth parts. 2021-03-21 13:29:04 -07:00
Leonardo Zide
e6e1ee70a6 Reverted project changes. 2021-03-21 11:20:22 -07:00
Leonardo Zide
b53b5aeb41 Update .travis.yml 2021-03-21 11:17:00 -07:00
Leonardo Zide
086c69b735 Update .travis.yml 2021-03-21 11:13:40 -07:00
Leonardo Zide
6100ca086f Update leocad.pro 2021-03-21 11:08:16 -07:00
Leonardo Zide
3b270d7107
Merge pull request #640 from hfiguiere/unhide_menu
Add Unhide selected menu item
2021-03-21 11:02:52 -07:00
Leonardo Zide
b6c5a00f25 Looks for lrelease-qt5. 2021-03-21 10:57:38 -07:00
Johannes Sixt
a0cadfcfa5 Synthesize Technic Pneumatic Tubes with End Bulges. 2021-03-21 10:18:49 +01:00
Johannes Sixt
6bbecad7e2 Synthesize Technic Pneumatic Tubes. 2021-03-21 10:18:43 +01:00
Johannes Sixt
94f7a9800a Factor out a function that constructs a tube mesh.
Later, we want to make tubes with different radii.

While we are here, correct the winding of the triangles that make the
inner tube.
2021-03-21 10:13:00 +01:00
Leonardo Zide
8adf3502c0 Merge branch 'master' of https://github.com/leozide/leocad 2021-03-20 17:00:30 -07:00
Leonardo Zide
ee1d28d7af Snap config. 2021-03-20 17:00:04 -07:00
Leonardo Zide
177265d9f8 Fixed CLI crash. 2021-03-20 12:32:05 -07:00
Leonardo Zide
29f797c771 Hide conditional lines behind the points. 2021-03-20 11:56:13 -07:00
Leonardo Zide
b548e1f4d2
Merge pull request #669 from j6t/fix-default-control-points
Fix incorrect control points of second and later synthesized pieces.
2021-03-17 21:46:14 -07:00
Leonardo Zide
a460075278 Fixed normal transforms. 2021-03-17 21:43:02 -07:00
Johannes Sixt
57edf44020 Fix incorrect control points of second and later synthesized pieces.
When a model that was not create by LeoCAD contains two different pieces
that are handled by lcSynth, then a set of default control points is
generated for the first piece. When the following synthesized pieces are
loaded, this set of control points is reused for the other pieces. But
the values generated for the first piece may not be a suitable default
for the subsequent pieces. Clear the control points after they have been
applied to a piece so that later pieces receive a new set of defaults.
2021-03-15 21:48:28 +01:00
Leonardo Zide
b10d89539b
Merge pull request #661 from hfiguiere/appdata
Update appdata for the latest releases
2021-03-14 18:03:32 -07:00
Hubert Figuière
5bb127588e Update appdata for the latest releases 2021-03-14 19:55:56 -04:00
Leonardo Zide
61cf1dcd20 Keep shader compatible with GLSL 110. 2021-03-14 11:41:53 -07:00
Leonardo Zide
9db8a0112a Better conditional line math. 2021-03-14 11:31:50 -07:00
Leonardo Zide
a2aa03c4fa Update .gitignore 2021-03-14 11:10:27 -07:00
Leonardo Zide
6ef3fe5500 Updated version. 2021-03-14 11:33:15 -07:00
Leonardo Zide
671f9c4966 Updated minifig.ini 2020-03. 2021-03-14 11:27:50 -07:00
Leonardo Zide
32c7964503 Load official parts before unofficial. 2021-03-13 20:01:25 -08:00
Leonardo Zide
b0f689df83 Crash fix. 2021-03-13 14:53:50 -08:00
Leonardo Zide
c8bd036236 Fixed texture upload from worker threads. 2021-03-13 14:09:08 -08:00
Leonardo Zide
a5a794d3fc Set texture unit 0 for all textures. 2021-03-13 11:40:33 -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
649ecf5c1e Fixed Preferences Dialog Qt assert. 2021-03-13 09:24:32 -08:00