Commit graph

2396 commits

Author SHA1 Message Date
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
4fec12c8df Removed old properties tree widget. 2024-01-06 10:38:25 -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
3c79bbeaa0 Update appveyor.yml 2023-12-28 16:46:41 -08:00
Leonardo Zide
e7cb0844fa Update appveyor.yml 2023-12-28 16:21:12 -08:00
Leonardo Zide
f174ef4364 Update appveyor.yml 2023-12-28 12:41:20 -08:00
Leonardo Zide
a23225f75f Update appveyor.yml 2023-12-28 12:23:22 -08:00
Leonardo Zide
105b00e24e Fixed warnings. 2023-12-28 11:55:11 -08:00
Leonardo Zide
149ae9430d Update appveyor.yml 2023-12-28 11:48:38 -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
d50f8f5796 Updated library version in CI. 2023-12-23 11:58:37 -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
dc6bccdab1 Update appveyor.yml 2023-12-21 14:15:21 -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