Commit graph

339 commits

Author SHA1 Message Date
Leonardo Zide
aa580966cd Fixed find replacing piece info in some cases. 2024-01-14 19:11:57 -08:00
Gerd Wachsmuth
c55c544af9 Improve search/replace feature
The replace feature was quite bugged:

- in the replace widget, there was no difference between the buttons
  'Find next' and 'Replace next' and between 'Find all' and 'Replace all'
- 'Replace all' did not work
- the logic for replacing colors was bugged
2024-01-14 10:06:57 +01:00
Gerd Wachsmuth
eae65819f2 Fix freeze for find/replace
The loop was not terminated properly if pieces were invisible.

Fixes leozide/leocad#901
2024-01-13 13:34:55 +01:00
Leonardo Zide
105b00e24e Fixed warnings. 2023-12-28 11:55:11 -08:00
Leonardo Zide
0da3def563
Merge pull request #874 from trevorsandy/BLENDER_AND_POVRAY_LIGHTS
Blender and POVRay Lights
2023-12-23 11:36:38 -08:00
Leonardo Zide
30ffbd5e05 Fixed part highlight drawing in parts list. Fixes #876. 2023-12-21 14:08:27 -08:00
Leonardo Zide
6774b17051 Merged POV-Ray and Blender light power. 2023-12-20 16:42:00 -08:00
Leonardo Zide
d52159087c Added light attenuation settings. 2023-12-17 11:37:11 -08:00
Leonardo Zide
0e74aea5fa Fixed POV-Ray area light grid. 2023-11-19 18:05:43 -08:00
Leonardo Zide
5430dd6170 Added light power attribute. 2023-10-01 13:16:26 -07:00
Leonardo Zide
a27694a594 Support dragging light targets to rotate. 2023-09-23 18:38:03 -07:00
Leonardo Zide
177c1b82d7 Support Blender light sizes for all types of lights. 2023-09-17 11:45:14 -07:00
Leonardo Zide
59c1930b83 Added support for area size key frames. 2023-09-17 10:40:23 -07:00
Leonardo Zide
e061eca2e8 Reorganized spot light parameters. 2023-09-09 18:25:34 -07:00
Leonardo Zide
6a1df617e8 Use a matrix to store the light transform. 2023-09-04 20:53:34 -07:00
Leonardo Zide
86327196c2 Support rotating lights. 2023-09-04 10:59:16 -07:00
Leonardo Zide
080a418e1b Renamed shadowless to cast shadow. 2023-09-02 10:40:52 -07:00
Leonardo Zide
7d289f2cfe Made light type editable. 2023-09-01 20:46:29 -07:00
Leonardo Zide
9d60160f6a Consolidated light color properties. 2023-08-27 11:17:07 -07:00
Trevor SANDY
8cfadc804d Made light type/shape immutable. 2023-08-13 15:50:00 +02:00
Trevor SANDY
d29c5b9323 POVRay lights - POV file preferences 2023-08-11 05:39:36 +02:00
Trevor SANDY
415354bfe8 Blender lights - merge spot light and directional lights 2023-08-11 05:39:36 +02:00
Trevor SANDY
3b9ea3ae79 Blender lights - view and control 2023-08-11 05:39:36 +02:00
Leonardo Zide
eade4bcb5f Removed default parameters. 2023-06-18 18:37:59 -07:00
Trevor SANDY
4d2ecee58d Blender addon - render current step 2023-06-11 17:43:25 +02:00
Leonardo Zide
2f034c1763 Updated file names. 2023-05-15 21:12:08 -07:00
Leonardo Zide
bda1acf7a5 Updated to coding standards. 2023-05-15 21:02:17 -07:00
Leonardo Zide
2c2cb46ddb Moved group dialog files. 2023-04-29 20:04:58 -07:00
Leonardo Zide
d2f22773e3 Added support for trackpad pan gesture. 2022-05-07 18:46:26 -07: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
7d884e6b5f Static analysis fixes. 2021-11-14 18:34:24 -08:00
Leonardo Zide
e0b77b17bd Qt6 fixes. 2021-07-05 17:00:41 -07:00
Leonardo Zide
249fa262f7 Disabled relative movement when moving pieces without using the arrows. 2021-04-24 10:15:13 -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
Hubert Figuière
064c815360 CurrentWidth can be MaxWidth.
Fix instructions hanging when there is a 16 x 16 plate
Closes #649
2021-03-10 00:00:01 -05:00
Leonardo Zide
140daced93 Added model measurements. Fixes #631. 2021-02-28 15:57:02 -08:00
Leonardo Zide
95fbc13247 Removed GetViewsForModel. 2021-02-27 11:15:04 -08:00
Leonardo Zide
d84b7711fd Added option to paste keeping the original steps. Fixes #612. 2021-02-07 10:48:23 -08:00
Leonardo
48347ea371 Ignore part settings from the previous step. Fixes #602. 2021-02-03 14:49:07 -08:00
Leonardo
55384a3c35 Fixed crash loading invalid lcd file. Fixes #617. 2021-02-03 14:24:22 -08:00
Leonardo
f033578abc Keep find next working after closing the find widget. 2021-02-01 14:12:03 -08:00
Leonardo Zide
680511879a Removed replace checkboxes. 2021-01-31 17:49:22 -08:00
Leonardo Zide
c182daa10d Removed find color checkbox. 2021-01-31 17:32:38 -08:00
Leonardo Zide
dc0ffbc8bb Removed Select By Color. 2021-01-31 12:23:28 -08:00
Leonardo Zide
3bee3a2bcf Removed the find widget part checkbox. 2021-01-31 12:05:15 -08:00
Leonardo Zide
6a2c8a715e Added find all. 2021-01-31 11:02:50 -08:00
Leonardo Zide
b74eb3a81e New find/replace widget. 2021-01-30 15:37:17 -08:00
Leonardo Zide
48ae9dae17 Fixed pieces not sorted correctly when changing their step. Fixes #614. 2021-01-30 10:17:15 -08:00
Leonardo
75fdca0387 Added transform menu and indicator. Fixes #554. 2021-01-29 15:18:02 -08:00