Commit graph

2375 commits

Author SHA1 Message Date
Leonardo Zide
cb6a836178 Use unique_ptr to control group ownership. 2024-05-27 11:43:36 -07:00
Leonardo Zide
80d144fea8 Array cleanup. 2024-05-26 13:01:34 -07:00
Leonardo Zide
ee5ed32172 Array cleanup. 2024-05-24 19:26:01 -07:00
Leonardo Zide
d2cd372428 Removed more lcArray instances. 2024-05-14 20:45:09 -07:00
Leonardo Zide
4e27344f39 Removed lcArray. 2024-05-13 19:59:37 -07:00
Leonardo Zide
274b5816f5 Fixed inserted control points not added under the mouse. 2024-05-13 17:10:55 -07:00
Leonardo Zide
aae75b36fe Removed lcArray from control points. 2024-05-12 12:45:15 -07:00
Leonardo Zide
a3646c9728 Removed lcArray instances. 2024-05-11 12:44:06 -07:00
Leonardo Zide
03d0ff5540 Switch to c++ 17. 2024-05-11 12:14:33 -07:00
Leonardo Zide
51be79a62c Code style updates. 2024-05-11 11:37:51 -07:00
Leonardo Zide
63272bcc78
Merge pull request #896 from gerw/master
Undo/redo preserve selected step
2024-05-11 11:36:40 -07:00
Leonardo Zide
5f028dcce8 Reapply "Merge pull request #916 from felipesanches/issue_911"
This reverts commit 9133a0fedc.
2024-04-27 17:43:55 -07:00
Leonardo Zide
9133a0fedc Revert "Merge pull request #916 from felipesanches/issue_911"
This reverts commit 174b838ecd, reversing
changes made to 5b6d78bd2a.
2024-04-27 17:37:50 -07:00
Leonardo Zide
ad661e9848 Fixed typo. Fixes #790. 2024-04-27 17:30:48 -07:00
Leonardo Zide
b957d6bc3a Support compiling with Qt6. 2024-04-27 17:19:34 -07:00
Leonardo Zide
ad2f56ea86 Merge branch 'master' of https://github.com/leozide/leocad 2024-04-27 16:02:07 -07:00
Leonardo Zide
b2811c1554 Fixed gcc errors. 2024-04-27 16:01:51 -07:00
Leonardo Zide
174b838ecd
Merge pull request #916 from felipesanches/issue_911
App won't open on Macs with case-sensitive filesystems
2024-04-27 15:52:38 -07:00
Leonardo Zide
5b6d78bd2a Moved Blender and POV-Ray settings to separate categories. 2024-04-24 16:53:49 -07:00
Felipe Corrêa da Silva Sanches
95bc652d20 App won't open on Macs with case-sensitive filesystems
(issue #911)
2024-04-23 16:50:33 -03:00
Leonardo Zide
207bc4724f Fix for square area light size not visible. 2024-04-14 11:15:06 -07:00
Leonardo Zide
14d1217850 Replaced property specific functions with the generic function. 2024-04-14 11:08:30 -07:00
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