Commit graph

1635 commits

Author SHA1 Message Date
Leonardo Zide
d6499bfeb0 Don't create default key frame for all properties. 2024-01-15 16:48:09 -08:00
Leonardo Zide
cba4dfb468 Added missing tooltips. 2024-01-15 10:18:50 -08:00
Leonardo Zide
c75c645675 Added close button to find/replace. 2024-01-14 19:34:01 -08:00
Leonardo Zide
9430e339c9 Use lcPieceIdStringModel to make the replace window load faster. 2024-01-14 19:29:25 -08:00
Leonardo Zide
aa580966cd Fixed find replacing piece info in some cases. 2024-01-14 19:11:57 -08:00
Leonardo Zide
061e5fbc43
Merge pull request #902 from gerw/fix_search
Fix freeze for find/replace
2024-01-14 19:11:18 -08:00
Leonardo Zide
8a17958d0b Updated key frame widget look. 2024-01-14 18:46:07 -08:00
Leonardo Zide
4785caac2a Added key frame widgets. 2024-01-14 17:41:01 -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
fbf174740f Moved object property to a separate file. 2024-01-07 11:39:34 -08:00
Leonardo Zide
463d43abca Fixed area light size property updates. 2024-01-06 17:42:47 -08:00
Leonardo Zide
266e86560f Create property widgets once and then show/hide as needed. 2024-01-06 17:33:43 -08:00
Leonardo Zide
3f7fe02589 Updated light properties widget. 2024-01-05 18:56:43 -08:00
Leonardo Zide
2aa388edad Fixed preview toolbar not updating. Fixes #895. 2024-01-05 18:50:16 -08:00
Leonardo Zide
c84a730ce4 Qt 5.4 fix. 2024-01-02 11:28:04 -08:00
Leonardo Zide
bef0df8874 Updated camera properties widget. 2024-01-01 18:57:54 -08:00
Leonardo Zide
8eec5756c1 Align properties in different categories. 2023-12-31 14:00:33 -08:00
Leonardo Zide
ef43c152ad Replaced piece properties widget. 2023-12-31 12:55:35 -08:00
Leonardo Zide
105b00e24e Fixed warnings. 2023-12-28 11:55:11 -08:00
Leonardo Zide
d77ca7357f Fixed warnings. 2023-12-28 11:42:28 -08:00
Leonardo Zide
9b4e6d6a65 Updated camera to lcObjectProperty. 2023-12-28 11:32:25 -08:00
Leonardo Zide
0ae1eb5671 Fixed piece initialization. 2023-12-28 10:41:47 -08:00
Leonardo Zide
086be790d0 Removed Get/SetValue. 2023-12-28 10:27:00 -08:00
Leonardo Zide
e4f4df4376 Use lcObjectProperty in Piece. 2023-12-28 10:21:52 -08:00
Leonardo Zide
eeabc06c49 Added lcObjectProperty class. 2023-12-27 12:03:41 -08:00
Leonardo Zide
2990afba08 Refactored lcObjectKeyArray::RemoveAll. 2023-12-27 10:21:25 -08:00
Leonardo Zide
ec2a9bce87 Fixed serializing area light grid. 2023-12-23 12:50:54 -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
321b9389ed Removed unused light options.
Specular is EEVEE only and Diffuse/Cutoff are unknown.
2023-12-17 12:16:32 -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
0a48e30ec0 Changed POV area lights to take the x/y vectors correctly. 2023-10-22 18:48:08 -07:00
Leonardo Zide
c2199eb6b0 Added serialization helper functions. 2023-10-01 16:24:42 -07:00
Trevor SANDY
ff313d4675 Blender LDraw Render - revert smooth_type default to edge_split 2023-10-01 22:50:31 +02: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
Trevor SANDY
846ddaab0d Blender addon - remove gap scale strategy and gap target options 2023-09-05 20:07:07 +02: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
Leonardo Zide
4e09ceaf7d Fixed light selection checks. 2023-08-27 10:19:07 -07:00
Leonardo Zide
5f3eb69ae7 Added up vector to area lights. 2023-08-26 19:43:08 -07:00