2658 Commits

Author SHA1 Message Date
Leonardo Zide 7287b621fa Fixed spinbox losing focus when after clicking on buttons. Fixes #981. 2025-07-02 10:16:31 -07:00
Leonardo Zide e4a38cb23b Updated minifig dialog widgets to match the property widget. 2025-06-30 19:23:51 -07:00
Leonardo Zide b1e2465e35 Fixed compiling on older Qt. 2025-06-29 18:56:07 -07:00
Leonardo Zide 6a5c607f0c Lower ladder sensitivity. 2025-06-29 12:11:04 -07:00
Leonardo Zide 1045195c05 Fixed ladder widget not working inside dialogs. 2025-06-29 11:49:19 -07:00
Leonardo Zide ff46834f98 Set spinbox and ladder steps based on context. 2025-06-28 11:11:05 -07:00
Leonardo Zide f7609076d0 Added ladder widget to float properties. 2025-06-28 10:08:02 -07:00
Leonardo Zide ed24c15b20 Use spin boxes for float properties. 2025-06-26 17:12:15 -07:00
Trevor SANDY 6940d5232f Blender addon - create addon folder if it does not exist. Fixes #878 2025-06-09 22:14:10 +02:00
Leonardo Zide 6f30ad275c Fixed changing camera transform with the properties widget. 2025-05-29 17:29:20 -07:00
Leonardo Zide 316882d47c Added bounding box check to light rubber band selection. 2025-05-24 14:30:48 -07:00
Leonardo Zide f3f76d2ffe Type safe parameters for math functions. 2025-05-24 14:16:53 -07:00
Leonardo Zide 38111787d9 Added rotate camera support. 2025-05-22 08:56:38 -07:00
Leonardo Zide 35f9c8e8e5 Removed float* operator from math classes. 2025-05-18 11:10:32 -07:00
Leonardo Zide 6a26e60f55 Made vector to float cast explicit, and fixed unintended casts. 2025-05-17 20:23:33 -07:00
Leonardo Zide 026a25c8eb Rotate dragged tracks when making new connections. 2025-05-15 17:13:34 -07:00
Leonardo Zide 6059442c6a Fixed color inconsistencies between the different way of adding train tracks. 2025-05-01 20:22:09 -07:00
Leonardo Zide 354b24f4e0 Use mesh ray casting for all parts of the train track gizmo. 2025-05-01 17:02:54 -07:00
Leonardo Zide bab8b3adab Moved the train track connection mesh to the static buffer. 2025-05-01 16:26:09 -07:00
Leonardo Zide 09c29d4173 Detect closest connection when dragging a new track. 2025-05-01 15:05:11 -07:00
Leonardo Zide e86208caab Draw train track connection boxes in the manipulator to match the scaling with the other gizmos. 2025-05-01 12:26:34 -07:00
Thiébaud Weksteen d7df1f6327 Add lcMouseShortcuts::Clear()
Avoid calling memset directly and reset all fields individually.

Fixes #747
2025-04-21 13:29:32 +10:00
Leonardo Zide e07c069bb1 Use the train track colors in the popup part picker. 2025-04-19 12:58:58 -07:00
Thiébaud Weksteen 10c4349e47 Ignore invalid drop in timeline
Fixes #972

In the timeline widget, if a piece is dropped beyond the last step, it
will disappear from the model. Ignore these invalid drag and drops.
2025-04-18 20:41:06 +10:00
Leonardo Zide 2dbc7bc1ca Fixed dragging over another track always picking a different connection. 2025-04-17 16:14:51 -07:00
Leonardo Zide f7a587cadd Added 4.5V tracks. 2025-04-17 15:46:42 -07:00
Leonardo Zide 3187ae15d6 Fixed RPM spec license. 2025-04-11 15:46:22 -07:00
Leonardo Zide 75e6537a22 Use train track connections when dragging new pieces. 2025-04-03 16:23:53 -07:00
Leonardo Zide 1e5eb1811c Added new translation to qrc and pro files. 2025-03-25 11:52:12 -07:00
Leonardo Zide 99c55cb027 Merge pull request #968 from slichtzzz/add_translation
Add Russian translation
2025-03-25 11:45:59 -07:00
Leonardo Zide c3ac1b99af Merge branch 'master' of https://github.com/leozide/leocad 2025-03-25 11:42:38 -07:00
Leonardo Zide db68a0420a Merge pull request #969 from schodet/fix-man
Fix font selection error in manual page.
2025-03-25 11:40:23 -07:00
Nicolas Schodet 69f1056c77 Fix font selection error in manual page.
Can be seen using:

    man -l docs/leocad.1 > /dev/null

The \f is missing the I, and the f of float is interpreted as the font.
2025-03-23 16:29:49 +01:00
Leonardo Zide e4a98c5491 Removed redundant lcTrainTrackInsert::Color. 2025-03-20 17:24:39 -07:00
Leonardo Zide 275dfe89db Set color of added tracks. 2025-03-20 17:16:56 -07:00
Leonardo Zide bf22ed8f05 Added support for hiding redundant train tracks from the picker. 2025-03-20 12:41:20 -07:00
slichtzzz 6a0569d906 Add Russian translation 2025-03-17 16:47:22 +03:00
Leonardo Zide 228fb79667 Made sleeper id data driven. 2025-02-23 19:13:29 -08:00
Leonardo Zide eff843c9eb Automatically add sleepers to 12V tracks. 2025-02-22 13:08:24 -08:00
Leonardo Zide fbc0150855 Added 12V tracks. 2025-02-17 13:38:29 -08:00
Leonardo Zide 1d065c10c9 Added 12v track support. 2025-02-16 19:45:48 -08:00
Leonardo Zide 0d2c023421 Moved train track config to json. 2025-02-15 20:22:06 -08:00
Leonardo Zide 18255f367f Update mouse after closing the train track popup. 2025-02-08 18:31:15 -08:00
Leonardo Zide 79f5d28f26 Added support for different connection types. 2025-02-08 18:04:41 -08:00
Leonardo Zide 09b6bd2a30 Merge pull request #967 from cambrialas/Issue_lcPiece_mTrainTrackConnections_not_set
Fixes 'Crash when dropping a new train track piece'
2025-02-02 18:54:48 -08:00
cambrialas 9c03c2478a Update array lcPiece::mTrainTrackConnections when new piece is dropped 2025-01-29 00:05:21 +01:00
Leonardo Zide d31b9d9bd5 Merge branch 'master' of https://github.com/leozide/leocad 2025-01-20 16:42:13 -08:00
Leonardo Zide 79dbf992bf Fixed enter key not working on the part picker. 2025-01-20 16:42:08 -08:00
Leonardo Zide d08c3323fc Merge pull request #966 from trevorsandy/BLENDER_LDRAW_ADDON
Blender Render LDraw Addon v1.5.7
2025-01-20 11:38:57 -08:00
Leonardo Zide f2a2e446bb Don't show the train track insert gizmo for focused connections. 2025-01-14 16:52:37 -08:00