Commit graph

1702 commits

Author SHA1 Message Date
Leonardo Zide
954ced14e1 Update light blender settings default values. 2024-04-14 10:35:30 -07:00
Leonardo Zide
3528817d22 Split light size into different variables per type. 2024-04-07 12:48:41 -07:00
Leonardo Zide
5d5274b2b4 Split light power into different properties for Blender and POV-Ray. 2024-04-07 11:28:54 -07:00
Leonardo Zide
69ae4ea492 Added POV-Ray prefix to spot tightness and area grid 2024-04-06 18:50:37 -07:00
Leonardo Zide
66f4e42e2d Renamed attenuation to POV-Ray Fade for clarity 2024-04-06 17:29:15 -07:00
Leonardo Zide
b6de368f6d Removed unused parameter. 2024-03-02 17:40:08 -08:00
Leonardo Zide
34941219f5 Added support for multi edit piece id and color. 2024-03-02 17:37:46 -08:00
Leonardo Zide
45ab8e8d60 Update camera menu before showing. 2024-02-19 17:51:34 -08:00
Leonardo Zide
732dac4c65 Support editing string properties. 2024-02-19 17:38:04 -08:00
Leonardo Zide
8af44647cf Removed unused default parameter. 2024-02-19 16:45:14 -08:00
Leonardo Zide
dd989bbc1d Added support for multi edit of ints and lists. 2024-02-19 16:31:02 -08:00
Leonardo Zide
39bdb1aa0a Added multi state support to colors. 2024-02-19 14:54:45 -08:00
Leonardo Zide
db24fab6d7 Support changing multiple bool properties at the same time. 2024-02-19 12:32:19 -08:00
Leonardo Zide
a42d86394c Support toggling key frames. 2024-01-21 12:53:18 -08:00
Leonardo Zide
2f40cf5bc7 Merged property serialization functions. 2024-01-15 17:11:03 -08:00
Leonardo Zide
d6499bfeb0 Don't create default key frame for all properties. 2024-01-15 16:48:09 -08:00
Gerd Wachsmuth
81262d2f88 Undo/redo try to preserve cameras
Addresses leozide/leocad#534

It does not work if
* the name of a camera is changed
* a camera does not exist after undo/redo
* multiple cameras have the same name

In order to address these remaining issues, one could add a unique ID
to all cameras in the model.
2024-01-15 21:16:05 +01:00
Gerd Wachsmuth
b520fe0b6d Undo/redo preserve selected step
Fixes leozide/leocad#788
2024-01-15 21:16:05 +01: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
Leonardo Zide
3942156acf New light gizmos. 2023-08-26 12:41:16 -07:00
Trevor SANDY
2f5594b5f6 Blender addon - change smooth_type default to bmesh_split 2023-08-20 01:07:00 +02:00
Trevor SANDY
410bdb2bb6 Blender addon - fix chosen logo options 2023-08-19 18:35:15 +02:00
Trevor SANDY
136a3f9c9f Blender addon - set import lights default to true 2023-08-19 16:30:01 +02:00
Trevor SANDY
8bfbe7dcd8 Save POVRay area light target for subsequent import 2023-08-19 11:51:22 +02:00
Trevor SANDY
8cfadc804d Made light type/shape immutable. 2023-08-13 15:50:00 +02:00
Trevor SANDY
6b5bfbf99f POVRay lights - export POV file 2023-08-11 05:39:36 +02:00
Trevor SANDY
d29c5b9323 POVRay lights - POV file preferences 2023-08-11 05:39:36 +02:00
Trevor SANDY
201d7e870c POVRay lights - lcLight 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
00a3ad7147 Blender lights - actions 2023-08-11 05:39:36 +02:00
Trevor SANDY
3b9ea3ae79 Blender lights - view and control 2023-08-11 05:39:36 +02:00
Trevor SANDY
07a268ed32 Blender lights - lcLight 2023-08-11 05:39:36 +02:00
Trevor SANDY
74eb112992 Blender addon - update settings to addon 1.5 2023-08-11 05:39:36 +02:00
Trevor SANDY
c7aecad353 Blender addon - only save settings that exist in config file 2023-08-01 21:35:19 +02:00
Trevor SANDY
65ab0cd7aa Blender addon - option to show or hide new addon version message 2023-08-01 21:35:11 +02:00
Trevor SANDY
4dba764a86 Blender addon - set display stud logo default to true 2023-07-07 13:57:00 +02:00
Trevor SANDY
c42f4fe778 Blender addon - changes to match conventions 2023-07-07 04:10:37 +02:00
Leonardo Zide
7271679f9d Small changes to match conventions. 2023-06-18 19:06:44 -07:00
Leonardo Zide
eade4bcb5f Removed default parameters. 2023-06-18 18:37:59 -07:00
Leonardo Zide
7eb6142b3c Fixed typo. 2023-06-18 18:12:12 -07:00
Leonardo Zide
7ded3a4899 Warning fixes. 2023-06-18 18:04:08 -07:00
Trevor SANDY
e98e375984 Blender addon - render command 2023-06-11 17:43:25 +02:00
Trevor SANDY
4d2ecee58d Blender addon - render current step 2023-06-11 17:43:25 +02:00
Trevor SANDY
9fe6dc3658 Blender addon - render lc_profile 2023-06-11 17:43:25 +02:00
Trevor SANDY
6e721d76c4 Blender addon - settings lc_zipfile 2023-06-11 17:42:34 +02:00
Trevor SANDY
c71a4be5f0 Blender addon - settings lc_http 2023-06-11 17:42:28 +02:00
Trevor SANDY
aeb06f1380 Blender addon - settings dialog 2023-06-11 17:42:22 +02:00
Trevor SANDY
2c7b386347 Blender addon - settings lc_profile 2023-05-23 12:30:52 +02:00
Leonardo Zide
2f034c1763 Updated file names. 2023-05-15 21:12:08 -07:00
Leonardo Zide
f28b86e5b3 Moved files. 2023-05-15 21:04:48 -07:00
Leonardo Zide
bda1acf7a5 Updated to coding standards. 2023-05-15 21:02:17 -07:00
Leonardo Zide
88b500368e Missing file. 2023-04-29 20:32:27 -07:00