32 Commits

Author SHA1 Message Date
Leonardo Zide 459667b1ff Fixed Qt6 compiler error. 2025-07-19 12:01:12 -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 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
Leonardo Zide 2dbc7bc1ca Fixed dragging over another track always picking a different connection. 2025-04-17 16:14:51 -07:00
Leonardo Zide 75e6537a22 Use train track connections when dragging new pieces. 2025-04-03 16:23:53 -07: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
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 79f5d28f26 Added support for different connection types. 2025-02-08 18:04:41 -08:00
Leonardo Zide abcef7a536 Show train track insert gizmo on all open connections of the focused piece. 2024-12-20 17:18:33 -08:00
Leonardo Zide b9dc71d60e Replaced train track gizmo with a popup list. 2024-12-18 16:41:03 -08:00
Leonardo Zide 4f2782b407 Added rotate train track gizmo. 2024-12-17 19:20:38 -08:00
Leonardo Zide 5e0df56351 Added helper functions to encode/decode mTrackToolSection. 2024-12-17 12:37:00 -08:00
Leonardo Zide ff23653709 Added track rotation and focus shortcuts. 2024-12-07 20:02:47 -08:00
Leonardo Zide fee870d33d Fixed invalid transform when inserting without a track focused. 2024-11-30 19:06:43 -08:00
Leonardo Zide 642e0965ae Fixed train track insert while in submodel editing. 2024-11-30 12:47:40 -08:00
Leonardo Zide 17078dd447 Update connections before using the view manipulator. 2024-11-30 12:36:30 -08:00
Leonardo Zide fd61c1c9f9 Added gizmo to rotate train tracks. 2024-11-30 12:29:15 -08:00
Leonardo Zide 41097f8489 Only draw track connections when focused. 2024-11-29 18:45:27 -08:00
Leonardo Zide 07322215a0 Added 9v cross. 2024-11-27 13:18:27 -08:00
Leonardo Zide a08ad3f81b Detect train track connections and pick an open one when inserting. 2024-11-27 13:04:53 -08:00
Leonardo Zide f80b5c95e1 Code cleanup. 2024-11-26 15:53:50 -08:00
Leonardo Zide 14e5e7d126 Connect train tracks when inserting with the keyboard. 2024-11-23 18:03:54 -08:00
Leonardo Zide dd3ab8990e Draw train track icon on thumbnails. 2024-11-14 12:45:34 -08:00
Leonardo Zide ed29dad76a Added train track gizmo. 2024-11-02 19:34:22 -07:00