Commit graph

109 commits

Author SHA1 Message Date
Leonardo Zide
cbf534fcdf Added option to fade previous steps. 2020-01-01 17:06:17 -08:00
Gerd Wachsmuth
516ddcbf7e Fix two issues with pivot points (#382)
- ResetPivotPoint() now truely resets the pivot point (and not only
invalidating it).
- The copy constructor of lcPiece now also copies the state of the pivot
point. Thus, duplicating pieces also duplicates the pivot points.
2019-08-20 14:52:29 -07:00
Leonardo Zide
e68ce05b57 Moved mesh flags to the mesh class. 2019-07-21 08:56:37 -07:00
Leonardo Zide
e45fe81ace Array cleanup. 2019-05-27 16:39:51 -07:00
Leonardo Zide
3070d25663 Support exporting flexible parts. Fixes #157. 2019-05-26 11:08:47 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
b31d33fd67 Don't show hidden pieces in submodels. 2019-03-12 19:51:04 -07:00
Leonardo Zide
752ae54788 Fixed interface draw location in active submodels. 2018-04-07 17:17:32 -07:00
Leonardo Zide
718b31a2bd Fixed selection tinting when editing submodels. 2018-04-07 11:45:00 -07:00
Leonardo Zide
b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide
51bbdb9b97 Added option to remove key frames from selected objects. 2018-02-24 12:47:19 -08:00
Leonardo Zide
35eb41217a Fixed first key frame being overwritten when loading a file. Fixes #191. 2018-02-24 11:44:56 -08:00
Leonardo Zide
9c503eb7a4 Fixed moving the pivot point of rotated pieces. Fixes #179. 2018-01-22 17:14:38 -08:00
Leonardo Zide
7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
leozide
f2560c18e0 Fixed parts being considered hidden in some cases. Fixes #108. 2017-08-25 16:17:22 -07:00
Leonardo Zide
82528a2c7a Don't uppercase part names when saving. 2017-07-27 09:21:55 -07:00
leozide
5de0644c7b Save positions with 4 digits and rotations with 6. 2017-07-26 17:34:25 -07:00
Leonardo Zide
94eb5b8ae2 Store library pieces in a map. 2017-07-23 19:35:18 -07:00
Leonardo Zide
5cd85a1584 Preserve case of part names in files. 2017-07-22 20:54:33 -07:00
Alistair Buxton
2de2e2c187 Highlight parts added in the current step. 2017-06-20 07:47:31 -07:00
Johannes Sixt
2448a47071 Fortify against random control points in imported files.
It can happen (accidentally or maliciously) that control points are
imported from a file for pieces that cannot be synthesized. In such a case,
a click on the control point indicator leads to a NULL pointer access.
Insert checks so that the click is effectively ignored.
2017-04-15 16:41:32 +02:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
leozide
35050efe3a Compiler feature test. 2017-04-13 17:07:29 -07:00
Leonardo Zide
c34810c084 Static analysis fixes. 2017-04-02 17:15:09 -07:00
Leonardo Zide
b9726a2a99 Reorganized scene and context classes. 2017-04-01 16:53:54 -07:00
Leonardo Zide
49a88e1ab4 Fixed synth parts adding the wrong mesh to the scene when in a submodel. Fixes #42. 2017-03-26 18:28:31 -07:00
Leonardo Zide
155fa7cdc2 Removed redundant glBlendFunc calls. 2017-03-25 00:03:17 -07:00
Leonardo Zide
c85f0f7eea Disable normals for unlit passes. 2017-03-24 09:34:53 -07:00
Leonardo Zide
f99a093c7a Draw edge lines unlit. 2017-03-22 23:35:02 -07:00
Leonardo Zide
50b9ab1984 Faster mesh sorting. 2017-03-19 22:59:55 -07:00
Leonardo Zide
acd5a485f0 Added a decal material to fix the texmap extension. 2017-03-12 13:51:14 -07:00
leozide
cf65201095 Added Duplicate Piece action. 2017-03-08 15:49:57 -08:00
leozide
7e3f572b8e Added shaders for each material/lighting combination. 2017-02-28 15:20:34 -08:00
Leonardo Zide
3d1efcabec Added room in the meshes for normals. 2017-02-18 11:12:35 -08:00
Leonardo Zide
8c318cbdf1 Multithreaded piece loading. 2017-01-22 19:28:05 -08:00
Leonardo Zide
dcfccd8eeb Rewrote how loose model files are loaded. 2016-11-25 17:12:19 -08:00
leo
f24b0923bb Crash fix. 2016-05-08 20:19:23 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
a0db9ce210 Added synth support for shock absorbers. 2016-05-01 00:20:37 +00:00
leo
1902dff957 Made control points translucent. 2016-03-12 00:38:02 +00:00
leo
52c97dd81a Added flexible axle support. 2016-03-04 03:18:23 +00:00
leo
b5233f714c Added options to add and remove control points. 2016-03-03 00:04:49 +00:00
leo
1cd4a8cee0 Added support for flexible technic ribbed hoses. 2016-02-29 20:13:54 +00:00
leo
510d190483 Support dynamic piece meshes. 2016-02-19 17:53:54 +00:00
leo
932053b803 Fixed loading pivots. 2015-12-17 00:41:10 +00:00
leo
d7febf9a7f Save pivot point. 2015-12-16 22:36:42 +00:00
leo
02551e6d21 Fixed basic pivot rotation. 2015-12-16 00:28:40 +00:00
leo
dfc94a42e5 Rotate pivot points. 2015-12-15 01:57:22 +00:00
leo
a035bf7ed1 Move pivot point with the mouse. 2015-12-14 18:01:17 +00:00