Leonardo Zide
6334c159a9
Removed add piece action.
2025-12-28 15:21:09 -03:00
Leonardo Zide
49308948d1
Removed duplicate piece action.
2025-12-26 16:50:46 -03:00
Leonardo Zide
8dfa1772b3
Fixed control point undo.
2025-12-26 11:53:51 -03:00
Leonardo Zide
2741b86e9c
Don't save selection in object edit actions.
2025-12-21 13:39:34 -03:00
Leonardo Zide
c2db2d8d45
Added bounds check to strcat.
2025-12-15 11:19:23 -03:00
Leonardo Zide
4de6c095e4
Save the entire object state to the undo buffer instead of only key frames.
2025-12-04 17:41:04 -08:00
Leonardo Zide
3bf01f2095
Added actions for mouse drag changes.
2025-11-23 20:33:59 -08:00
Leonardo Zide
6df16f5742
Added step insert and delete actions.
2025-11-19 22:34:53 -08:00
Leonardo Zide
bf8e4cb8fa
Merged Blender point/spot radius into a single setting.
2025-08-31 10:41:07 -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
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
6ab237f50a
Whitespace fixes.
2024-12-19 15:54:40 -08:00
Leonardo Zide
4f2782b407
Added rotate train track gizmo.
2024-12-17 19:20:38 -08:00
Leonardo Zide
24b7c43a09
Fixed train track gizmo drawing when a rotated connection has focus.
2024-12-09 10:42:31 -08:00
Leonardo Zide
fd61c1c9f9
Added gizmo to rotate train tracks.
2024-11-30 12:29:15 -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
14e5e7d126
Connect train tracks when inserting with the keyboard.
2024-11-23 18:03:54 -08:00
Leonardo Zide
80d144fea8
Array cleanup.
2024-05-26 13:01:34 -07:00
Leonardo Zide
aae75b36fe
Removed lcArray from control points.
2024-05-12 12:45:15 -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
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
Leonardo Zide
4785caac2a
Added key frame widgets.
2024-01-14 17:41:01 -08:00
Leonardo Zide
0ae1eb5671
Fixed piece initialization.
2023-12-28 10:41:47 -08:00
Leonardo Zide
e4f4df4376
Use lcObjectProperty in Piece.
2023-12-28 10:21:52 -08:00
Leonardo Zide
2990afba08
Refactored lcObjectKeyArray::RemoveAll.
2023-12-27 10:21:25 -08:00
Leonardo Zide
c2199eb6b0
Added serialization helper functions.
2023-10-01 16:24:42 -07:00
Leonardo Zide
86327196c2
Support rotating lights.
2023-09-04 10:59:16 -07:00
Leonardo Zide
b2ffa02b75
Fixed POV render issues with synth parts. Fixes #820 .
2022-07-16 10:32:28 -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
a5207573bf
Customizable object colors.
2021-11-24 15:20:08 -08:00
Leonardo Zide
94a5a5dc52
Moved blend to context.
2021-11-22 16:18:09 -08:00
Leonardo Zide
2a24933fa8
Scoped enums.
2021-11-14 19:10:16 -08:00
Leonardo Zide
7d884e6b5f
Static analysis fixes.
2021-11-14 18:34:24 -08:00
Johannes Sixt
ba2cc70de8
Implement a piece's focused section as a simple index, not a bit mask.
...
It does not make sense to have a "focus" on more than one thing. Keep the
most recently focused section of a piece as a single index rather than a
bit mask. This removes a lot of implementation burden.
2021-10-31 15:51:58 +01:00
Johannes Sixt
d7ed7aaef4
Hold selection state in a separate variable, and treat all sections equal.
...
Notice that the selection state of individual piece sections are stored,
but never queried: the result of neither version of IsSelected() depends
on the section whose state is selected. Do not hold the state of
individual sections.
There is a theoretical change in behavior: Before, when a particular
section was unselected with SetSelected(Section, false), the focus state
of only the requested section was removed; now we remove the complete
focus. This change has no practical relevance, because there is no
user interface that can unselect individual piece sections.
2021-10-31 15:50:57 +01:00
Johannes Sixt
f81f949dc6
Hold states "hidden" and "pivot point valid" in separate variables.
...
In this way, the accesses are more natural than bit manipulations.
2021-10-31 15:50:57 +01:00
Leonardo Zide
f69ecf7fc0
Keep BFC disabled. Fixes #717 .
2021-05-16 15:53:59 -07:00
Leonardo Zide
0be663f73c
Reset BFC state after enabling it.
2021-03-27 17:52:21 -07:00
Leonardo Zide
b8a8cb6730
Removed direct GL function calls.
2021-01-12 14:29:56 -08:00