Commit graph

2375 commits

Author SHA1 Message Date
Leonardo Zide
b2ffa02b75 Fixed POV render issues with synth parts. Fixes #820. 2022-07-16 10:32:28 -07:00
Leonardo Zide
1ba7f6b7f7
Merge pull request #819 from trevorsandy/PROJECT_PART
Unofficial project part
2022-07-09 09:28:39 -07:00
Trevor SANDY
2abaa5d297 Remove current project call from Preview::SetCurrentPiece 2022-07-06 17:45:55 +02:00
Trevor SANDY
90d4feffe9 Unofficial project part 2022-07-06 16:25:37 +02:00
Leonardo Zide
23a93b4afb Added Qt version check. 2022-06-05 11:22:44 -07:00
Leonardo Zide
22d4d2c53d
Merge pull request #804 from superruzafa/es-update
L10n and ES i18n update
2022-05-18 17:07:41 -07:00
Alfonso Ruzafa
3fa2781626 update non-es ts files 2022-05-16 21:37:32 +02:00
Alfonso Ruzafa
944a79a50c update es translations 2022-05-16 21:37:23 +02:00
Alfonso Ruzafa
ebc89c2774 localize untranslated strings 2022-05-16 21:36:52 +02:00
Leonardo Zide
d2f22773e3 Added support for trackpad pan gesture. 2022-05-07 18:46:26 -07:00
Leonardo Zide
7716ffb6e6 Don't show invalid submodels in properties parts list. Fixes #787. 2022-04-21 12:33:50 -03:00
Leonardo Zide
cdc730b5f7 Fixed pixel offset when drawing the background. Fixes #792. 2022-04-19 18:14:44 -03:00
Leonardo Zide
275423b512 Fixed gradient background tiles. 2022-04-19 18:06:11 -03:00
Leonardo Zide
d4a081d4b8 Fixed submodels not being added to instructions. 2022-03-13 16:46:14 -07:00
Leonardo Zide
0a75fd3755 Merge branch 'master' of https://github.com/leozide/leocad 2022-02-13 16:00:12 -08:00
Leonardo Zide
b2d0d9d94b Added option to print from the instructions dialog. 2022-02-13 16:00:08 -08:00
Leonardo Zide
0bc8729735
Merge pull request #769 from sT331h0rs3/master
Actualize rpmbuild spec for 21.06 release.
2022-02-03 19:41:31 -08:00
sT331h0rs3
ab7ae675c6 Actualize rpmbuild spec for 21.06 release. 2022-01-30 23:26:21 +03:00
Leonardo Zide
f24317e997 gcc fix. 2022-01-09 12:54:45 -08:00
Leonardo Zide
6ca5c160f1 Place new pieces relative to the side of the piece under the mouse. 2021-12-24 15:42:37 -08:00
Leonardo Zide
2d315d2ba2 Scan submodels when dragging a new piece into the model. 2021-12-23 17:27:38 -08:00
Leonardo Zide
4c97a4d514 Weight vertex normals based on the angle of each face. Fixes #683. 2021-12-23 12:15:33 -08:00
Leonardo Zide
c10804d31b Simplified manipulator rotation math. 2021-12-11 15:52:38 -08:00
Leonardo Zide
22e36adc53 Fix typo. 2021-11-24 18:04:22 -08:00
Leonardo Zide
a5207573bf Customizable object colors. 2021-11-24 15:20:08 -08:00
Leonardo Zide
94a5a5dc52 Moved blend to context. 2021-11-22 16:18:09 -08:00
Leonardo Zide
89c0b58592 Moved depth test to context. 2021-11-22 16:01:45 -08:00
Leonardo Zide
408dc6ff97 Moved texture upload to context. 2021-11-21 18:25:17 -08:00
Leonardo Zide
a9ab7c0c64 Removed GL calls in texfont. 2021-11-21 12:16:19 -08:00
Leonardo Zide
36dbcec238 Fixed macOS OpenGL deprecation warnings. 2021-11-20 19:56:52 -08:00
Leonardo Zide
4a182f8517 Display version in uninstall. 2021-11-20 12:07:16 -08:00
Leonardo Zide
30a911dad2
Update lc_colors.h 2021-11-17 19:06:18 -08:00
Leonardo Zide
2a24933fa8 Scoped enums. 2021-11-14 19:10:16 -08:00
Leonardo Zide
7d884e6b5f Static analysis fixes. 2021-11-14 18:34:24 -08:00
Leonardo Zide
5d558b38bb Warning fix. 2021-11-13 17:52:29 -08:00
Leonardo Zide
7c3968d785
Merge pull request #746 from j6t/unlimited-synth-ctrl-points
Almost unlimited control points in synthesized pieces
2021-11-06 10:44:18 -07:00
Johannes Sixt
31855d508f Permit an enormous number of control points. 2021-10-31 16:09:03 +01:00
Johannes Sixt
ba2cc70de8 Implement a piece's focused section as a simple index, not a bit mask.
It does not make sense to have a "focus" on more than one thing. Keep the
most recently focused section of a piece as a single index rather than a
bit mask. This removes a lot of implementation burden.
2021-10-31 15:51:58 +01:00
Johannes Sixt
b301b59f8f Implement GetSectionPosition() with computed, not enumerated indices.
This aligns the function with others, such as GetRotationCenter().
2021-10-31 15:50:57 +01:00
Johannes Sixt
d7ed7aaef4 Hold selection state in a separate variable, and treat all sections equal.
Notice that the selection state of individual piece sections are stored,
but never queried: the result of neither version of IsSelected() depends
on the section whose state is selected. Do not hold the state of
individual sections.

There is a theoretical change in behavior: Before, when a particular
section was unselected with SetSelected(Section, false), the focus state
of only the requested section was removed; now we remove the complete
focus. This change has no practical relevance, because there is no
user interface that can unselect individual piece sections.
2021-10-31 15:50:57 +01:00
Johannes Sixt
f81f949dc6 Hold states "hidden" and "pivot point valid" in separate variables.
In this way, the accesses are more natural than bit manipulations.
2021-10-31 15:50:57 +01:00
Leonardo Zide
c47eb30d90 Fixed menus in fullscreen mode on Windows. Fixes #739.
https://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows
2021-10-17 17:16:10 -07:00
Leonardo Zide
0476b30432
Update appveyor.yml 2021-10-02 17:55:06 -07:00
Leonardo Zide
4b9ecf4227 Slow down mouse wheel zoom when the shift key is down. 2021-10-02 17:40:21 -07:00
Leonardo Zide
23bb82d0c2
Merge pull request #741 from josch/utf8
docs/CREDITS.txt: convert from iso 8859-1 to utf8
2021-09-25 10:58:11 -07:00
Johannes Schauer Marin Rodrigues
53dfb7732b
docs/CREDITS.txt: convert from iso 8859-1 to utf8 2021-09-25 19:17:34 +02:00
Leonardo Zide
35ba24fb40 Warning fix. 2021-07-05 17:12:06 -07:00
Leonardo Zide
d56e389ee4 Qt 5.4 fixes. 2021-07-05 17:07:24 -07:00
Leonardo Zide
e0b77b17bd Qt6 fixes. 2021-07-05 17:00:41 -07:00
Leonardo Zide
d8253c564e Increased Rebrickable inventory download size. Fixes #728. 2021-07-05 13:54:40 -07:00