Commit graph

2387 commits

Author SHA1 Message Date
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
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
96523c39b9 Show light rotation in properties. 2023-10-01 12:49:35 -07:00
Leonardo Zide
a27694a594 Support dragging light targets to rotate. 2023-09-23 18:38:03 -07:00
Leonardo Zide
3f54cf766b
Update appveyor.yml 2023-09-19 17:19:19 -07:00