Commit Graph
356 Commits
Author SHA1 Message Date
Leonardo Zide aae75b36fe Removed lcArray from control points. 2024-05-12 12:45:15 -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 14d1217850 Replaced property specific functions with the generic function. 2024-04-14 11:08: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 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 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
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 aa580966cd Fixed find replacing piece info in some cases. 2024-01-14 19:11:57 -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 105b00e24e Fixed warnings. 2023-12-28 11:55:11 -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 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 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
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
Trevor SANDY 8cfadc804d Made light type/shape immutable. 2023-08-13 15:50:00 +02:00
Trevor SANDY d29c5b9323 POVRay lights - POV file preferences 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 3b9ea3ae79 Blender lights - view and control 2023-08-11 05:39:36 +02:00
Leonardo Zide eade4bcb5f Removed default parameters. 2023-06-18 18:37:59 -07:00
Trevor SANDY 4d2ecee58d Blender addon - render current step 2023-06-11 17:43:25 +02:00
Leonardo Zide 2f034c1763 Updated file names. 2023-05-15 21:12:08 -07:00
Leonardo Zide bda1acf7a5 Updated to coding standards. 2023-05-15 21:02:17 -07:00
Leonardo Zide 2c2cb46ddb Moved group dialog files. 2023-04-29 20:04:58 -07:00
Leonardo Zide d2f22773e3 Added support for trackpad pan gesture. 2022-05-07 18:46:26 -07:00
Leonardo Zide 6ca5c160f1 Place new pieces relative to the side of the piece under the mouse. 2021-12-24 15:42:37 -08:00
Leonardo Zide 2d315d2ba2 Scan submodels when dragging a new piece into the model. 2021-12-23 17:27:38 -08:00
Leonardo Zide 7d884e6b5f Static analysis fixes. 2021-11-14 18:34:24 -08:00
Leonardo Zide e0b77b17bd Qt6 fixes. 2021-07-05 17:00:41 -07:00