Commit graph

2342 commits

Author SHA1 Message Date
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
Leonardo Zide
5decefcb73 Crash fix. 2021-06-27 12:44:05 -07:00
Leonardo Zide
5e3ca0e781 Fixed loading textures from cached pieces. 2021-06-27 12:42:53 -07:00
Leonardo Zide
a9971b0b1a Fixed rendering issues with missing textures. 2021-06-27 12:13:54 -07:00
Leonardo Zide
bad9bd5069 Fixed wrong texture mesh indices. Fixes #727. 2021-06-26 14:01:02 -07:00
Leonardo Zide
8dcc1bb970 Warning fix. Fixes #725. 2021-06-26 13:27:17 -07:00
Leonardo Zide
bd709b4eee
Update leocad.pro 2021-06-20 13:24:59 -07:00
Leonardo Zide
c236ea02bb Moved view manipulator to a separate class. 2021-06-20 11:40:16 -07:00
Leonardo Zide
bd12ad5842 Small cleanup. 2021-06-13 16:24:12 -07:00
Leonardo Zide
0fa195b334 Array cleanup. 2021-06-13 15:41:57 -07:00
Leonardo Zide
7162639295 Calculate texcoords at the end of the file load. Fixes #641. 2021-06-13 15:35:40 -07:00
Leonardo Zide
bf7a382dcc Store texture projection as part of the section while loading meshes. 2021-06-12 19:29:13 -07:00
Leonardo Zide
d84d8f1f3c Fixed lcArray::Add() not default initializing. 2021-06-12 19:23:12 -07:00
Leonardo Zide
ee5c551bc8 Refactored duplicate code. 2021-06-06 10:51:34 -07:00
Leonardo Zide
613bc91c4d Moved texture stack from function parameter to member variable. 2021-06-05 17:44:20 -07:00
Leonardo Zide
aa0106eedb Updated version. 2021-06-05 16:41:42 -07:00
Leonardo Zide
1e3f256cf2 Fix for Qt 5.4. Fixes #721. 2021-06-05 11:20:46 -07:00
Leonardo Zide
763fe50131 Made library installation optional. Fixes #369. 2021-05-30 13:06:00 -07:00
Leonardo Zide
685cf78515 Added option to choose the axis icon location. Closes #638. 2021-05-30 11:52:13 -07:00
Leonardo Zide
315a693b6a
Update .travis.yml 2021-05-22 13:15:02 -07:00
Leonardo Zide
3dfae50b5f
Update .travis.yml 2021-05-22 13:09:05 -07:00
Leonardo Zide
7c86e6ed83
Update .travis.yml 2021-05-22 13:00:42 -07:00
Leonardo Zide
7500dbb255
Update .travis.yml 2021-05-22 12:52:27 -07:00
Leonardo Zide
4421090307
Update .travis.yml 2021-05-22 12:47:35 -07:00
Leonardo Zide
5b7df96339
Update .travis.yml 2021-05-22 12:44:16 -07:00
Leonardo Zide
f66a07e276
Update .travis.yml 2021-05-22 12:36:03 -07:00
Leonardo Zide
f69ecf7fc0 Keep BFC disabled. Fixes #717. 2021-05-16 15:53:59 -07:00
Leonardo Zide
1b25e20d95 Update .travis.yml 2021-05-16 12:22:15 -07:00
Leonardo Zide
1a3e01ead1 Update .travis.yml 2021-05-16 12:16:23 -07:00
Leonardo Zide
47124cf1ca Added developer info. Fixes #713. 2021-05-15 11:06:13 -07:00
Leonardo Zide
748da691e4
Merge pull request #712 from sT331h0rs3/master
Actualize rpmbuild spec for 21.03 release.
2021-05-09 10:50:22 -07:00
sT331h0rs3
1d67c8cc58 Actualize rpmbuild spec for 21.03 release. 2021-05-08 12:52:53 +03:00
Leonardo Zide
f1f2a8bd26 Reset view when creating a new submodel. Fixes #703. 2021-05-01 16:24:55 -07:00
Leonardo Zide
ccd9904c4c Fixed drawing the rotate overlay during in place submodel edits. 2021-04-25 12:02:57 -07:00